充值任务
This commit is contained in:
@@ -1149,6 +1149,8 @@ function handelCharge($where,$data){
|
||||
if(!$res1){
|
||||
return 0;
|
||||
}
|
||||
//充值任务
|
||||
model('api/Tasks')->tasks_complete($orderModel['user_id'],12);
|
||||
model('Nobility')->buyNobility($orderModel['user_id'],$orderModel['nobility_id']);
|
||||
return 1;
|
||||
}else{//充值
|
||||
@@ -1209,6 +1211,8 @@ function handelCharge($where,$data){
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
//充值任务
|
||||
model('api/Tasks')->tasks_complete($orderModel['user_id'],12);
|
||||
db::commit();
|
||||
|
||||
//活动
|
||||
|
||||
Reference in New Issue
Block a user