...
|
...
|
@@ -997,10 +997,10 @@ class SecondController extends RestBaseController |
|
|
$photo_local[]=430;
|
|
|
$photo_local[]=62;
|
|
|
$image1
|
|
|
//->water(ROOT_PATH.'public/upload/user/'.$userId.'.png',$photo_local)
|
|
|
->water(ROOT_PATH.'public/upload/user/'.$userId.'.png',$photo_local)
|
|
|
->save($path.$userId.'.png');
|
|
|
//$image2->thumb(430,62);
|
|
|
$return['url']=cmf_get_image_url('/upload/user/'.$userId.'.png');
|
|
|
$return['url']=cmf_get_image_url('/upload/zhengjian/'.$userId.'.png');
|
|
|
$this->success('',$return);
|
|
|
}
|
|
|
/**
|
...
|
...
|
|