shish před 2 roky
rodič
revize
0a64293288
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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']);