|
...
|
...
|
@@ -726,6 +726,14 @@ class ImageController extends Controller |
|
|
|
public function getImageSetting(){
|
|
|
|
$imageSetting = new ImageSetting();
|
|
|
|
$info = $imageSetting->read(['project_id'=>$this->cache['project_id']]);
|
|
|
|
if($info !== false){
|
|
|
|
if(!empty($info['image_data'])){
|
|
|
|
$info['image_data'] = json_decode($info['image_data'],true);
|
|
|
|
}
|
|
|
|
if(!empty($info['str_data'])){
|
|
|
|
$info['str_data'] = json_decode($info['str_data'],true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->response('success',Code::SUCCESS,$info);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|