Browse Source

数据类型

wufeng 2 years ago
parent
commit
07863f99dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/command/handleYzOrderData.php

+ 1 - 1
app/command/handleYzOrderData.php

@@ -194,7 +194,7 @@ class handleYzOrderData extends Command
                     $sale_price = $c_data['discount_price'];
                 }
 
-                $act = check_activity($spuCode, $skuCode, $platform_id, $is_stock, $sale_price, $good_num);
+                $act = check_activity((string)$spuCode, (string)$skuCode, (int)$platform_id, (int)$is_stock, (float)$sale_price, (int)$good_num);
                 $is_activity = 0;
                 if (!empty($act)) {
                     $is_activity = 1;