shish 3 lat temu
rodzic
commit
0fc5a429e2

+ 1 - 0
biz-hd/order/services/OrderService.php

@@ -272,6 +272,7 @@ class OrderService extends BaseService
                 //微信+现金 支付宝+现金 组合付款
                 $data['cash'] = $cashAmount;
                 $data['mainPay'] = bcsub($modifyPrice, $cashAmount, 2);
+                $hasPay = dict::getDict('hasPay', 'unPay');
             }
         } else {
             $data['cash'] = 0;

+ 1 - 1
common/components/dict.php

@@ -29,7 +29,7 @@ class dict
         'hasPay' => [
             //待付款,扫码付
             'unPay' => 0,
-            //已付款
+            //线下
             'payed' => 1,
             //欠款
             'debt' => 2,