gofmt: Replace interface{} with any
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+32
-32
@@ -54,37 +54,37 @@ type LoginAutoResp struct {
|
||||
}
|
||||
|
||||
type InitializeResp struct {
|
||||
BrandLogo string `json:"brand_logo"`
|
||||
BrandName string `json:"brand_name"`
|
||||
DaoyuClientid string `json:"daoyu_clientid"`
|
||||
DaoyuDownloadURL string `json:"daoyu_download_url"`
|
||||
DeviceFeature string `json:"device_feature"`
|
||||
DisplayThirdaccout int `json:"display_thirdaccout"`
|
||||
ForceShowAgreement int `json:"force_show_agreement"`
|
||||
GreportLogLevel string `json:"greport_log_level"`
|
||||
GuestEnable int `json:"guest_enable"`
|
||||
IsMatch int `json:"is_match"`
|
||||
LogLevel string `json:"log_level"`
|
||||
LoginButton []string `json:"login_button"`
|
||||
LoginIcon []interface{} `json:"login_icon"`
|
||||
LoginLimitEnable int `json:"login_limit_enable"`
|
||||
NeedFloatWindowPermission int `json:"need_float_window_permission"`
|
||||
NewDeviceIDServer string `json:"new_device_id_server"`
|
||||
QqAppID string `json:"qq_appId"`
|
||||
QqKey string `json:"qq_key"`
|
||||
ShowGuestConfirm int `json:"show_guest_confirm"`
|
||||
VoicetipButton int `json:"voicetip_button"`
|
||||
VoicetipOne string `json:"voicetip_one"`
|
||||
VoicetipTwo string `json:"voicetip_two"`
|
||||
WegameAppid string `json:"wegame_appid"`
|
||||
WegameAppkey string `json:"wegame_appkey"`
|
||||
WegameClientid string `json:"wegame_clientid"`
|
||||
WegameCompanyID string `json:"wegame_companyId"`
|
||||
WegameLoginURL string `json:"wegame_loginUrl"`
|
||||
WeiboAppKey string `json:"weibo_appKey"`
|
||||
WeiboRedirectURL string `json:"weibo_redirectUrl"`
|
||||
WeixinAppID string `json:"weixin_appId"`
|
||||
WeixinKey string `json:"weixin_key"`
|
||||
BrandLogo string `json:"brand_logo"`
|
||||
BrandName string `json:"brand_name"`
|
||||
DaoyuClientid string `json:"daoyu_clientid"`
|
||||
DaoyuDownloadURL string `json:"daoyu_download_url"`
|
||||
DeviceFeature string `json:"device_feature"`
|
||||
DisplayThirdaccout int `json:"display_thirdaccout"`
|
||||
ForceShowAgreement int `json:"force_show_agreement"`
|
||||
GreportLogLevel string `json:"greport_log_level"`
|
||||
GuestEnable int `json:"guest_enable"`
|
||||
IsMatch int `json:"is_match"`
|
||||
LogLevel string `json:"log_level"`
|
||||
LoginButton []string `json:"login_button"`
|
||||
LoginIcon []any `json:"login_icon"`
|
||||
LoginLimitEnable int `json:"login_limit_enable"`
|
||||
NeedFloatWindowPermission int `json:"need_float_window_permission"`
|
||||
NewDeviceIDServer string `json:"new_device_id_server"`
|
||||
QqAppID string `json:"qq_appId"`
|
||||
QqKey string `json:"qq_key"`
|
||||
ShowGuestConfirm int `json:"show_guest_confirm"`
|
||||
VoicetipButton int `json:"voicetip_button"`
|
||||
VoicetipOne string `json:"voicetip_one"`
|
||||
VoicetipTwo string `json:"voicetip_two"`
|
||||
WegameAppid string `json:"wegame_appid"`
|
||||
WegameAppkey string `json:"wegame_appkey"`
|
||||
WegameClientid string `json:"wegame_clientid"`
|
||||
WegameCompanyID string `json:"wegame_companyId"`
|
||||
WegameLoginURL string `json:"wegame_loginUrl"`
|
||||
WeiboAppKey string `json:"weibo_appKey"`
|
||||
WeiboRedirectURL string `json:"weibo_redirectUrl"`
|
||||
WeixinAppID string `json:"weixin_appId"`
|
||||
WeixinKey string `json:"weixin_key"`
|
||||
}
|
||||
|
||||
func Active(ctx *gin.Context) {
|
||||
@@ -168,7 +168,7 @@ func Initialize(ctx *gin.Context) {
|
||||
GreportLogLevel: "off",
|
||||
LogLevel: "off",
|
||||
LoginButton: []string{"official"},
|
||||
LoginIcon: []interface{}{},
|
||||
LoginIcon: []any{},
|
||||
NeedFloatWindowPermission: 1,
|
||||
NewDeviceIDServer: strings.ToUpper(openssl.Md5ToString(deviceId)),
|
||||
ShowGuestConfirm: 1,
|
||||
|
||||
Reference in New Issue
Block a user