正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -549,7 +549,7 @@ class ProductLogic extends BaseLogic | @@ -549,7 +549,7 @@ class ProductLogic extends BaseLogic | ||
| 549 | */ | 549 | */ |
| 550 | public function copyColumn($product_id,$new_product_id){ | 550 | public function copyColumn($product_id,$new_product_id){ |
| 551 | $columnModel = new Column(); | 551 | $columnModel = new Column(); |
| 552 | - $columnList = $columnModel->list(['product_id'=>$product_id]); | 552 | + $columnList = $columnModel->list(['product_id'=>$product_id],'id',['*'],'asc'); |
| 553 | if(!empty($columnList)){ | 553 | if(!empty($columnList)){ |
| 554 | foreach ($columnList as $k => $v){ | 554 | foreach ($columnList as $k => $v){ |
| 555 | $column_id = $v['id']; | 555 | $column_id = $v['id']; |
-
请 注册 或 登录 后发表评论