作者 lyh

gx

@@ -115,6 +115,9 @@ class CustomModuleCategoryLogic extends BaseLogic @@ -115,6 +115,9 @@ class CustomModuleCategoryLogic extends BaseLogic
115 if(!isset($param['id']) || empty($param['id'])){ 115 if(!isset($param['id']) || empty($param['id'])){
116 $param['project_id'] = $this->user['project_id']; 116 $param['project_id'] = $this->user['project_id'];
117 } 117 }
  118 + if(isset($param['image']) && !empty($param['image'])){
  119 + $param['image'] = str_replace_url($param['image']);
  120 + }
118 return $this->success($param); 121 return $this->success($param);
119 } 122 }
120 123
@@ -196,6 +196,9 @@ class CustomModuleContentLogic extends BaseLogic @@ -196,6 +196,9 @@ class CustomModuleContentLogic extends BaseLogic
196 if(isset($param['category_id']) && !empty($param['category_id'])){ 196 if(isset($param['category_id']) && !empty($param['category_id'])){
197 $param['category_id'] = $this->getLastCategory($param['category_id']); 197 $param['category_id'] = $this->getLastCategory($param['category_id']);
198 } 198 }
  199 + if(isset($param['image']) && !empty($param['image'])){
  200 + $param['image'] = str_replace_url($param['image']);
  201 + }
199 return $this->success($param); 202 return $this->success($param);
200 } 203 }
201 204