|
...
|
...
|
@@ -549,7 +549,7 @@ class ProductLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function copyColumn($product_id,$new_product_id){
|
|
|
|
$columnModel = new Column();
|
|
|
|
$columnList = $columnModel->list(['product_id'=>$product_id]);
|
|
|
|
$columnList = $columnModel->list(['product_id'=>$product_id],'id',['*'],'asc');
|
|
|
|
if(!empty($columnList)){
|
|
|
|
foreach ($columnList as $k => $v){
|
|
|
|
$column_id = $v['id'];
|
...
|
...
|
|