mirror of
https://github.com/hykilpikonna/AquaDX.git
synced 2026-08-28 12:15:19 -05:00
feat: chusan bs
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
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
|
||||
|
||||
2
src/main/resources/db/120/V1000_81__chusan_ban_state.sql
Normal file
2
src/main/resources/db/120/V1000_81__chusan_ban_state.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE chusan_user_data
|
||||
ADD ban_state INT NOT NULL DEFAULT 0;
|
||||
Reference in New Issue
Block a user