作者 lyh

gx

@@ -715,4 +715,17 @@ class ImageController extends Controller @@ -715,4 +715,17 @@ class ImageController extends Controller
715 $imageSetting->edit(['status'=>$this->param['status']],['project_id'=>$this->cache['project_id']]); 715 $imageSetting->edit(['status'=>$this->param['status']],['project_id'=>$this->cache['project_id']]);
716 $this->response('success'); 716 $this->response('success');
717 } 717 }
  718 +
  719 + /**
  720 + * @remark :获取配置
  721 + * @name :getImageSetting
  722 + * @author :lyh
  723 + * @method :post
  724 + * @time :2024/8/24 11:41
  725 + */
  726 + public function getImageSetting(){
  727 + $imageSetting = new ImageSetting();
  728 + $info = $imageSetting->read(['project_id'=>$this->cache['project_id']]);
  729 + $this->response('success',Code::SUCCESS,$info);
  730 + }
718 } 731 }