正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -44,7 +44,7 @@ class ProductLogic extends BaseLogic | @@ -44,7 +44,7 @@ class ProductLogic extends BaseLogic | ||
| 44 | $category_ids = $this->handleCategory(); | 44 | $category_ids = $this->handleCategory(); |
| 45 | //处理其他字段 | 45 | //处理其他字段 |
| 46 | $this->param = $this->handleSaveParam($this->param); | 46 | $this->param = $this->handleSaveParam($this->param); |
| 47 | - try { | 47 | +// try { |
| 48 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 48 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| 49 | $is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0 | 49 | $is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0 |
| 50 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 | 50 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 |
| @@ -65,9 +65,9 @@ class ProductLogic extends BaseLogic | @@ -65,9 +65,9 @@ class ProductLogic extends BaseLogic | ||
| 65 | CategoryRelated::saveRelated($id, $category_ids); | 65 | CategoryRelated::saveRelated($id, $category_ids); |
| 66 | //保存扩展字段 | 66 | //保存扩展字段 |
| 67 | $this->saveExtendInfo($id,$extend); | 67 | $this->saveExtendInfo($id,$extend); |
| 68 | - }catch (\Exception $e){ | ||
| 69 | - $this->fail('系统错误请联系管理员'); | ||
| 70 | - } | 68 | +// }catch (\Exception $e){ |
| 69 | +// $this->fail('系统错误请联系管理员'); | ||
| 70 | +// } | ||
| 71 | $this->addUpdateNotify(RouteMap::SOURCE_PRODUCT,$route); | 71 | $this->addUpdateNotify(RouteMap::SOURCE_PRODUCT,$route); |
| 72 | $this->curlDelRoute(['new_route'=>$route]); | 72 | $this->curlDelRoute(['new_route'=>$route]); |
| 73 | return $this->success(); | 73 | return $this->success(); |
-
请 注册 或 登录 后发表评论