大量优化

This commit is contained in:
flswld
2023-01-05 01:29:00 +08:00
parent f991480192
commit 27f16d9063
226 changed files with 2651 additions and 2484 deletions

View File

@@ -1,8 +1,8 @@
package api
type ComboTokenReq struct {
AppID int `json:"app_id"`
ChannelID int `json:"channel_id"`
AppID any `json:"app_id"`
ChannelID any `json:"channel_id"`
Data string `json:"data"`
Device string `json:"device"`
Sign string `json:"sign"`

View File

@@ -1,6 +1,6 @@
package api
type ComboTokenRes struct {
type ComboTokenRsp struct {
Message string `json:"message"`
Retcode int `json:"retcode"`
Data LoginData `json:"data"`
@@ -16,8 +16,8 @@ type LoginData struct {
FatigueRemind any `json:"fatigue_remind"`
}
func NewComboTokenRes() (r *ComboTokenRes) {
r = &ComboTokenRes{
func NewComboTokenRsp() (r *ComboTokenRsp) {
r = &ComboTokenRsp{
Message: "",
Retcode: 0,
Data: LoginData{