爵位接口提交-后台-昵称颜色列表显示

This commit is contained in:
2025-11-06 15:06:29 +08:00
parent f237ad2f17
commit fb8276d741
3 changed files with 36 additions and 4 deletions

View File

@@ -90,6 +90,8 @@ class UserWallet extends Model
const RED_PACKET_LEFT_COIN = 33;
//红包剩余退回(钻石)
const RED_PACKET_LEFT_DIAMOND = 34;
//爵位购买赠送金币(金币)
const NOBILITY_PURCHASE_COIN = 35;
//金币支出类型数组
public $coin_consumption_type_array = [
@@ -162,6 +164,7 @@ class UserWallet extends Model
self::RED_PACKET_DIAMOND_RECEIVE => '抢红包(钻石)',
self::RED_PACKET_LEFT_COIN => '红包剩余退回(金币)',
self::RED_PACKET_LEFT_DIAMOND => '红包剩余退回(钻石)',
self::NOBILITY_PURCHASE_COIN => '爵位购买赠送(金币)',
];
if($type){
return $status[$type] ?? '';