Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -38,7 +38,7 @@ class ProductLogic extends BaseLogic | @@ -38,7 +38,7 @@ class ProductLogic extends BaseLogic | ||
| 38 | 38 | ||
| 39 | public function getInfo($id) | 39 | public function getInfo($id) |
| 40 | { | 40 | { |
| 41 | - $info = parent::getInfo($id); | 41 | + $info = $this->model->read(['id'=>$id]); |
| 42 | $info = $this->formatData($info); | 42 | $info = $this->formatData($info); |
| 43 | return $this->success($info); | 43 | return $this->success($info); |
| 44 | } | 44 | } |
| @@ -41,7 +41,7 @@ class Product extends Base | @@ -41,7 +41,7 @@ class Product extends Base | ||
| 41 | $value['url'] = $this->getImageUrl($value['url']); | 41 | $value['url'] = $this->getImageUrl($value['url']); |
| 42 | return $value; | 42 | return $value; |
| 43 | } | 43 | } |
| 44 | - | 44 | + |
| 45 | 45 | ||
| 46 | // /** | 46 | // /** |
| 47 | // * @remark :图标获取器 | 47 | // * @remark :图标获取器 |
-
请 注册 或 登录 后发表评论