*
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -60,8 +60,8 @@ class WorkController extends BaseController | ... | @@ -60,8 +60,8 @@ class WorkController extends BaseController | 
| 60 | $param = [ | 60 | $param = [ | 
| 61 | 'type' =>'0', | 61 | 'type' =>'0', | 
| 62 | 'fileUrl' =>$singer_param['singerPic'] ?? '', | 62 | 'fileUrl' =>$singer_param['singerPic'] ?? '', | 
| 63 | 'fileName' =>last(explode('/',$file_name)) ?? '艺人头像.jpg', | 63 | // 'fileName' =>last(explode('/',$file_name)) ?? '艺人头像.jpg', | 
| 64 | // 'fileName' =>time() . '.' . last(explode('.',$file_name)), | 64 | 'fileName' =>time() . '.' . last(explode('.',$file_name)), | 
| 65 | ]; | 65 | ]; | 
| 66 | list($code,$msg,$data) = $this->doApi('/invests/content/upload',$param); | 66 | list($code,$msg,$data) = $this->doApi('/invests/content/upload',$param); | 
| 67 | $pic_url = $data['fileUrl'] ?? ''; | 67 | $pic_url = $data['fileUrl'] ?? ''; | ... | ... | 
- 
Please register or sign in to post a comment