|
...
|
...
|
@@ -463,7 +463,7 @@ class ProductLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function copyExtendInfo($old_id,$new_id){
|
|
|
|
$extendInfoModel = new ExtendInfo();
|
|
|
|
$extendList = $extendInfoModel->list(['product_id'=>$old_id]);
|
|
|
|
$extendList = $extendInfoModel->list(['product_id'=>$old_id],'created_at');
|
|
|
|
if(!empty($extendList)){
|
|
|
|
foreach ($extendList as $k => $v){
|
|
|
|
unset($v['id']);
|
...
|
...
|
|