签约房相关

This commit is contained in:
2025-11-26 11:36:08 +08:00
parent acfda2f044
commit 8dbbe1e2b3
7 changed files with 447 additions and 6 deletions

View File

@@ -92,6 +92,13 @@ class UserWallet extends Model
const RED_PACKET_LEFT_DIAMOND = 34;
//爵位购买赠送金币(金币)
const NOBILITY_PURCHASE_COIN = 35;
//签约支出
const SIGN = 50;
//签约失败退回
const SIGN_FAILURE = 51;
//首次被签约收入
const FIRST_SIGN_INCOME = 52;
//金币支出类型数组
public $coin_consumption_type_array = [
@@ -102,6 +109,7 @@ class UserWallet extends Model
self::HEADLINE_REWARD,
self::TRANSFER_COIN,
self::RED_PACKET_COIN,
self::SIGN,
];
//钻石支出类型数组
public $diamond_consumption_type_array = [
@@ -165,6 +173,9 @@ class UserWallet extends Model
self::RED_PACKET_LEFT_COIN => '红包剩余退回(金币)',
self::RED_PACKET_LEFT_DIAMOND => '红包剩余退回(钻石)',
self::NOBILITY_PURCHASE_COIN => '爵位购买赠送(金币)',
self::SIGN => '签约支出',
self::SIGN_FAILURE => '签约失败退回',
self::FIRST_SIGN_INCOME => '首次被签约收入'
];
if($type){
return $status[$type] ?? '';