作者 lyh

gx

... ... @@ -715,4 +715,17 @@ class ImageController extends Controller
$imageSetting->edit(['status'=>$this->param['status']],['project_id'=>$this->cache['project_id']]);
$this->response('success');
}
/**
* @remark :获取配置
* @name :getImageSetting
* @author :lyh
* @method :post
* @time :2024/8/24 11:41
*/
public function getImageSetting(){
$imageSetting = new ImageSetting();
$info = $imageSetting->read(['project_id'=>$this->cache['project_id']]);
$this->response('success',Code::SUCCESS,$info);
}
}
... ...