新需求-活动需求-天降首充好礼调整-后台接口调整

This commit is contained in:
2025-10-10 14:45:38 +08:00
parent 059bf0095a
commit d3e89e9af8
3 changed files with 21 additions and 7 deletions

View File

@@ -1198,13 +1198,19 @@ function handelCharge($where,$data){
}
db::commit();
//活动
//首充
if($is_first_charge == 0){
model('Activities')->first_charge_gift_send($orderModel['user_id'],$orderModel['money']);
}
//天降好礼
model('Activities')->drop_gift_send($orderModel['user_id'],$orderModel['money']);
switch ($orderModel['type_params']){
case 2:
//天降好礼
model('Activities')->drop_gift_send($orderModel['user_id'],$orderModel['money']);
break;
case 3:
//新人好礼
}
return 1;
} catch (\Exception $e){