作者 lyh

gx

@@ -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 }