xialei 1 год назад
Родитель
Сommit
06d5c8916b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/controller/api/store/service/Huafei.php

+ 2 - 2
app/controller/api/store/service/Huafei.php

@@ -60,7 +60,7 @@ class Huafei extends BaseController
60
 
60
 
61
 		foreach($data as $k=>$v){
61
 		foreach($data as $k=>$v){
62
 
62
 
63
-			$commissionMoney = $v['money'];
63
+			$commissionMoney = $v['money']*0.04;
64
 			$systemvalueObj = $goods_obj = Db::name('system_config_value')->where('config_key','sanfangfenpei')->find();
64
 			$systemvalueObj = $goods_obj = Db::name('system_config_value')->where('config_key','sanfangfenpei')->find();
65
 
65
 
66
 			$sanfangfenpei=json_decode($systemvalueObj['value'],true);
66
 			$sanfangfenpei=json_decode($systemvalueObj['value'],true);
@@ -99,7 +99,7 @@ class Huafei extends BaseController
99
 					'uid'=> $uid,
99
 					'uid'=> $uid,
100
 					'mobile' => $params['phone'],
100
 					'mobile' => $params['phone'],
101
 					'commission'=> 0,
101
 					'commission'=> 0,
102
-					'commission_share'=> 0,
102
+					'commission_share'=> 0.04,
103
 					'order_number' => $push['data']['order_number'],
103
 					'order_number' => $push['data']['order_number'],
104
 					'order_sn' => $order_sn,
104
 					'order_sn' => $order_sn,
105
 					'amount_price' => $push['data']['amount'],
105
 					'amount_price' => $push['data']['amount'],