进入房间爵位信息相关
This commit is contained in:
@@ -1138,7 +1138,7 @@ function handelCharge($where,$data){
|
||||
if(!$orderModel){
|
||||
return 0;
|
||||
}
|
||||
if($orderModel['recharge_type'] == 1){//购买爵位
|
||||
if($orderModel['nobility_id'] != 0){//购买爵位
|
||||
//修改订单状态
|
||||
$res1 = db::name('vs_user_recharge')->where($where)->update([
|
||||
'pay_status' => 2,
|
||||
@@ -1149,7 +1149,7 @@ function handelCharge($where,$data){
|
||||
if(!$res1){
|
||||
return 0;
|
||||
}
|
||||
model('Nobility')->buyNobility($orderModel['user_id'],$orderModel['recharge_type']);
|
||||
model('Nobility')->buyNobility($orderModel['user_id'],$orderModel['nobility_id']);
|
||||
return 1;
|
||||
}else{//充值
|
||||
db::startTrans();
|
||||
|
||||
Reference in New Issue
Block a user