购买爵位
This commit is contained in:
@@ -61,7 +61,7 @@ class Payment extends Controller
|
||||
return V(0, '请选择正确的充值金额', null);
|
||||
}
|
||||
$user_code = db::name('user')->where(["id" => $user_id])->value('user_code');
|
||||
$title = "APP充值到用户". ($user_code ?? "") ."余额!";
|
||||
$title = $nobility_id == 0 ? '充值到app用户'.($user_code ?? "") ."余额!" :'购买爵位';
|
||||
|
||||
$order_number = $this->createOrderSn();
|
||||
$data['order_sn'] = $order_number;
|
||||
|
||||
@@ -1138,7 +1138,7 @@ function handelCharge($where,$data){
|
||||
if(!$orderModel){
|
||||
return 0;
|
||||
}
|
||||
if($orderModel['nobility_id'] != 0){//购买爵位
|
||||
if($orderModel['nobility_id'] > 0){//购买爵位
|
||||
//修改订单状态
|
||||
$res1 = db::name('vs_user_recharge')->where($where)->update([
|
||||
'pay_status' => 2,
|
||||
|
||||
Reference in New Issue
Block a user