正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -513,8 +513,9 @@ class ProductController extends BaseController | @@ -513,8 +513,9 @@ class ProductController extends BaseController | ||
| 513 | $info = $setNumModel->read(['type'=>$setNumModel::TYPE_PRODUCT_SORT]); | 513 | $info = $setNumModel->read(['type'=>$setNumModel::TYPE_PRODUCT_SORT]); |
| 514 | if($info === false){ | 514 | if($info === false){ |
| 515 | $info = []; | 515 | $info = []; |
| 516 | + }else{ | ||
| 517 | + $info['data'] = json_decode($info['data']); | ||
| 516 | } | 518 | } |
| 517 | - $info['data'] = json_decode($info['data']); | ||
| 518 | $this->response('success',Code::SUCCESS,$info); | 519 | $this->response('success',Code::SUCCESS,$info); |
| 519 | } | 520 | } |
| 520 | } | 521 | } |
-
请 注册 或 登录 后发表评论