作者 lyh

gx

@@ -272,7 +272,7 @@ class LoginController extends BaseController @@ -272,7 +272,7 @@ class LoginController extends BaseController
272 $imageModel = new ImageModel(); 272 $imageModel = new ImageModel();
273 $lists = $imageModel->list($this->map); 273 $lists = $imageModel->list($this->map);
274 foreach ($lists as $k => $v){ 274 foreach ($lists as $k => $v){
275 - $v['path'] = 'upload'.$v['path']; 275 + $v['path'] = '/'.$v['path'];
276 $imageModel->edit(['path'=>$v['path']],['id'=>$v['id']]); 276 $imageModel->edit(['path'=>$v['path']],['id'=>$v['id']]);
277 } 277 }
278 $this->response('success'); 278 $this->response('success');