shish 2 лет назад
Родитель
Сommit
0a64293288
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      console/controllers/ProductController.php

+ 2 - 0
console/controllers/ProductController.php

@@ -37,6 +37,8 @@ class ProductController extends Controller
             foreach ($productList as $post) {
                 $post['copy'] = 1;
                 $post['auth'] = 0;
+                $post['skPrice'] = $post['price'];
+                $post['hjPrice'] = $post['price'];
                 $post['sjId'] = $shop->sjId ?? 0;
                 unset($post['viewNum']);
                 unset($post['actualSold']);