mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-09-22 22:38:14 +03:00
feat: chusan bs
This commit is contained in:
@@ -281,7 +281,7 @@ fun ChusanController.chusanInit() {
|
||||
"playerLevel" to option?.playerLevel,
|
||||
"rating" to option?.rating,
|
||||
"headphone" to option?.headphone,
|
||||
"chargeState" to 1, "userNameEx" to "", "banState" to 0,
|
||||
"chargeState" to 1, "userNameEx" to "", "banState" to user.banState,
|
||||
) + userDict
|
||||
|
||||
if (user.card?.status == CardStatus.MIGRATED_TO_MINATO) {
|
||||
|
||||
@@ -82,6 +82,9 @@ class Chu3UserData : BaseEntity(), IUserData {
|
||||
@JsonIgnore
|
||||
var lastLoginDate: LocalDateTime = LocalDateTime.now()
|
||||
|
||||
@JsonIgnore
|
||||
var banState: Int = 0
|
||||
|
||||
@JsonDeserialize(using = FlexibleDateTimeDeserializer::class)
|
||||
override var lastPlayDate: LocalDateTime = LocalDateTime.now()
|
||||
var lastPlaceId = 0
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE chusan_user_data
|
||||
ADD ban_state INT NOT NULL DEFAULT 0;
|
||||
Reference in New Issue
Block a user