Переглянути джерело

Merge branch 'master' into dev

sunxbiao 1 рік тому
батько
коміт
c39e06eaaf

+ 1 - 0
app/common/repositories/user/UserRepository.php

@@ -1075,6 +1075,7 @@ class UserRepository extends BaseRepository
1075 1075
                     'commission_type' => $commission_type,
1076 1076
                     'mark' => empty($mark) ?'管理员调整收益':$mark ,
1077 1077
                     'create_time' => date('Y-m-d H:i:s'),
1078
+                    'take_time' => time()
1078 1079
                 ];
1079 1080
                 if($commission_type != 5){
1080 1081
                     $isert_data['balance'] = $user['brokerage_price'];

+ 1 - 1
app/controller/api/Notify.php

@@ -506,7 +506,7 @@ class Notify
506 506
 
507 507
 
508 508
                                         //Db::name('user')->where('uid',$spread_data['uid'])->update(['contribute'=> $gx_jf,'score'=> $gx_jf,'brokerage_price'=> $yj_amount,'fugou'=>$fgj_amount]);
509
-                                        $this->con_log($spread_data['uid'],round($pv * 0.3,2),$store_order_data['order_id'],0,"推广会员专区商品赠送贡献值",1);
509
+                                        $this->con_log($spread_data['uid'],round($gx_jf * 0.3,2),$store_order_data['order_id'],0,"推广会员专区商品赠送贡献值",1);
510 510
                                         $this->score_log($spread_data['uid'],bcmul($gx_jf, $rate, 2),$store_order_data['order_id'],0,"推广会员专区商品赠送积分",1);
511 511
                                         //推广佣金
512 512
                                         $this->bill_user_log($spread_data['uid'],$yj_amount_90,$store_order_data['order_id'],3,$store_order_data['order_sn'],'推广获得佣金',$store_order_data['mer_id']);

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
extend/BaiduAi/sdk/lib/3e511fab3f565237233736f759f2e3e2