|
...
|
...
|
@@ -315,7 +315,7 @@ class ImageController extends Controller |
|
|
|
*/
|
|
|
|
public function setUrl(){
|
|
|
|
if(!isset($this->param['image_type'])){
|
|
|
|
$this->response('参数错误',Code::USER_ERROR);
|
|
|
|
$this->param['image_type'] = 1;
|
|
|
|
}
|
|
|
|
if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){
|
|
|
|
$this->path = $this->uploads['path_a'].'/'.$this->image_type[$this->param['image_type']].'/'.date('Y-m');
|
...
|
...
|
|