新需求-活动需求-天降首充好礼调整-新人充值好礼 接口提交

This commit is contained in:
2025-10-11 09:42:35 +08:00
parent 7a18e94faf
commit ac9182c566
5 changed files with 231 additions and 3 deletions

View File

@@ -75,6 +75,8 @@ class UserWallet extends Model
const RECEIVE_COIN = 26;
//小时榜获得金币
const HOUR_RANK_COIN = 27;
//新人充值好礼
const NEW_USER_CHARGE_GIFT = 28;
//金币支出类型数组
@@ -138,7 +140,8 @@ class UserWallet extends Model
self::DELETE_RELATION_COIN => '删除关系扣金币',
self::TRANSFER_COIN => '赠送好友金币',
self::RECEIVE_COIN => '好友转赠所得金币',
self::HOUR_RANK_COIN => '小时榜获得金币'
self::HOUR_RANK_COIN => '小时榜获得金币',
self::NEW_USER_CHARGE_GIFT => '新人充值好礼'
];
return $status[$type] ?? '';
}