shish 2 жил өмнө
parent
commit
0a64293288

+ 2 - 0
console/controllers/ProductController.php

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