Quellcode durchsuchen

Merge branch 'master' into dev

sunxbiao vor 1 Jahr
Ursprung
Commit
c39e06eaaf

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

@@ -1075,6 +1075,7 @@ class UserRepository extends BaseRepository
1075
                     'commission_type' => $commission_type,
1075
                     'commission_type' => $commission_type,
1076
                     'mark' => empty($mark) ?'管理员调整收益':$mark ,
1076
                     'mark' => empty($mark) ?'管理员调整收益':$mark ,
1077
                     'create_time' => date('Y-m-d H:i:s'),
1077
                     'create_time' => date('Y-m-d H:i:s'),
1078
+                    'take_time' => time()
1078
                 ];
1079
                 ];
1079
                 if($commission_type != 5){
1080
                 if($commission_type != 5){
1080
                     $isert_data['balance'] = $user['brokerage_price'];
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
                                         //Db::name('user')->where('uid',$spread_data['uid'])->update(['contribute'=> $gx_jf,'score'=> $gx_jf,'brokerage_price'=> $yj_amount,'fugou'=>$fgj_amount]);
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
                                         $this->score_log($spread_data['uid'],bcmul($gx_jf, $rate, 2),$store_order_data['order_id'],0,"推广会员专区商品赠送积分",1);
510
                                         $this->score_log($spread_data['uid'],bcmul($gx_jf, $rate, 2),$store_order_data['order_id'],0,"推广会员专区商品赠送积分",1);
511
                                         //推广佣金
511
                                         //推广佣金
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']);
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']);

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
extend/BaiduAi/sdk/lib/3e511fab3f565237233736f759f2e3e2