ソースを参照

客户的技术给改的,修一下bug

lizhen_gitee 1 年間 前
コミット
cc39183a6e
1 ファイル変更2 行追加2 行削除
  1. 2 2
      application/index/controller/Plantask.php

+ 2 - 2
application/index/controller/Plantask.php

@@ -232,14 +232,14 @@ class Plantask extends Controller
                 $bili = config('site.orderpaid_zhitui_bili') ?: 5;
                 $score = bcdiv(bcmul($jishu,$bili,0),100,0);
                 if($score > 0){
-                    $rs_wallet = $walletmodel->lockChangeAccountRemain($intro_uid,'score',$score,3,$new_times.'次 直推代理奖励'.$remark_shaoshang,'unishop_order',$order['id'],$order['user_id']);
+                    $rs_wallet = model('wallet')->lockChangeAccountRemain($intro_uid,'score',$score,3,$new_times.'次 直推代理奖励'.$remark_shaoshang,'unishop_order',$order['id'],$order['user_id']);
                     if($rs_wallet['status'] === false){
                         echo $rs_wallet['msg'];
                         Db::rollback();
                         exit;
                     }
 
-                    $rs_wallet = $walletmodel->lockChangeAccountRemain($intro_uid,'shouyi',$score,31,$new_times.'次 直推代理奖励'.$remark_shaoshang,'unishop_order',$order['id'],$order['user_id']);
+                    $rs_wallet = model('wallet')->lockChangeAccountRemain($intro_uid,'shouyi',$score,31,$new_times.'次 直推代理奖励'.$remark_shaoshang,'unishop_order',$order['id'],$order['user_id']);
                     if($rs_wallet['status'] === false){
                         echo $rs_wallet['msg'];
                         Db::rollback();