作者 lyh

更新产品扩展字段

@@ -284,7 +284,7 @@ class ProductController extends BaseController @@ -284,7 +284,7 @@ class ProductController extends BaseController
284 */ 284 */
285 public function getExtendInfo($product_id){ 285 public function getExtendInfo($product_id){
286 $extendModel = new Extend(); 286 $extendModel = new Extend();
287 - $list = $extendModel->list(); 287 + $list = $extendModel->list([],'id',['type','key','title']);
288 if(empty($list)){ 288 if(empty($list)){
289 return []; 289 return [];
290 } 290 }