|
@@ -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();
|