正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -315,7 +315,7 @@ class ImageController extends Controller | @@ -315,7 +315,7 @@ class ImageController extends Controller | ||
| 315 | */ | 315 | */ |
| 316 | public function setUrl(){ | 316 | public function setUrl(){ |
| 317 | if(!isset($this->param['image_type'])){ | 317 | if(!isset($this->param['image_type'])){ |
| 318 | - $this->response('参数错误',Code::USER_ERROR); | 318 | + $this->param['image_type'] = 1; |
| 319 | } | 319 | } |
| 320 | if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){ | 320 | if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){ |
| 321 | $this->path = $this->uploads['path_a'].'/'.$this->image_type[$this->param['image_type']].'/'.date('Y-m'); | 321 | $this->path = $this->uploads['path_a'].'/'.$this->image_type[$this->param['image_type']].'/'.date('Y-m'); |
-
请 注册 或 登录 后发表评论