正在显示
1 个修改的文件
包含
13 行增加
和
0 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论