...
|
...
|
@@ -1013,10 +1013,10 @@ class SecondController extends RestBaseController |
|
|
|
|
|
$image1
|
|
|
->water(ROOT_PATH.'public/upload/user/'.$userId.'.png',$photo_local)
|
|
|
->text($text1,$font,20,'#000000',$locate1)
|
|
|
->text($text2,$font,20,'#000000',$locate2)
|
|
|
->text($text3,$font,20,'#000000',$locate3)
|
|
|
->text($text4,$font,20,'#000000',$locate4)
|
|
|
->text($text1,$font,20,'#FFFFFF',$locate1)
|
|
|
->text($text2,$font,20,'#FFFFFF',$locate2)
|
|
|
->text($text3,$font,20,'#FFFFFF',$locate3)
|
|
|
->text($text4,$font,20,'#FFFFFF',$locate4)
|
|
|
->save($path.$userId.'.png');
|
|
|
//$image2->thumb(430,62);
|
|
|
$return['url']=cmf_get_image_url('/upload/zhengjian/'.$userId.'.png');
|
...
|
...
|
|