v1.0.0
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package adminApiStructs
|
||||
|
||||
type AboutSettingRequest struct {
|
||||
Content string `json:"content"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package adminApiStructs
|
||||
|
||||
type GetStatisticsResp struct {
|
||||
UserCount int64 `json:"userCount"`
|
||||
UserToday int64 `json:"userToday"`
|
||||
RoleCount int64 `json:"roleCount"`
|
||||
RoleToday int64 `json:"roleToday"`
|
||||
DialogCount int64 `json:"dialogCount"`
|
||||
DialogToday int64 `json:"dialogToday"`
|
||||
DrawCount int64 `json:"drawCount"`
|
||||
DrawToday int64 `json:"drawToday"`
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package commonApiStructs
|
||||
|
||||
type RequestPage struct {
|
||||
Page int `json:"page"`
|
||||
Limit int `json:"limit"`
|
||||
Keyword string `json:"keyword"`
|
||||
}
|
||||
|
||||
type RequestDeleteIds[T int | uint] struct {
|
||||
Ids []T `json:"ids"`
|
||||
}
|
||||
|
||||
type VerificationRequest struct {
|
||||
CodeID string `json:"codeId"`
|
||||
VCode string `json:"vCode"`
|
||||
}
|
||||
|
||||
type VerificationResponse struct {
|
||||
CodeID string `json:"codeId"`
|
||||
Result bool `json:"result"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package adminApiStructs
|
||||
|
||||
import "sun-panel/models"
|
||||
|
||||
type ItemIconEditRequest struct {
|
||||
models.ItemIcon
|
||||
IconJson string
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package systemApiStructs
|
||||
|
||||
type NoticeGetListByDisplayTypeReq struct {
|
||||
DisplayType []int `json:"displayType"`
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package systemApiStructs
|
||||
|
||||
type GetReferralCodeResp struct {
|
||||
ReferralCode string `json:"referralCode"`
|
||||
}
|
||||
Reference in New Issue
Block a user