Browse Source

fix:我的佣金

super-yimizi 11 hours ago
parent
commit
3b2185c60e

+ 1 - 0
application/common/Service/Pay/PayOperService.php

@@ -293,6 +293,7 @@ class PayOperService
                 //处理发票审核改为等待开具 、 
                 // 处理活动,加入拼团,完成拼团,添加赠品记录等 、 将订单参与活动信息改为已支付
                 // todo  支付成功后续使用异步队列处理   
+                // 分销逻辑
             }     
         } 
         //  else if  货到付款的逻辑、处理

+ 1 - 1
application/common/Service/Pay/Provider/Wechat.php

@@ -39,7 +39,7 @@ class Wechat extends Base
 
         //$order['amount']['total'] = intval(bcmul((string)$order['total_amount'], '100'));   
                  // 按分 为单位
-        $order['amount']['total'] = 100;
+        $order['amount']['total'] = 1;
         // 测试
         if ($this->platform == 'H5') {
             $order['_type'] = 'app';        // 使用 配置中的 app_id 字段