优化机器人

This commit is contained in:
flswld
2023-02-14 22:57:35 +08:00
parent 804e0dfc1a
commit 02c73f8444
10 changed files with 326 additions and 484 deletions

View File

@@ -143,7 +143,9 @@ func AccountLogin(url string, account string, password string) (*AccountInfo, er
return nil, err
}
comboTokenReq := &api.ComboTokenReq{
Data: string(loginTokenDataJson),
AppID: 4,
ChannelID: 1,
Data: string(loginTokenDataJson),
}
logger.Info("http post url: %v", url+"/hk4e_global/combo/granter/login/v2/login")
comboTokenRsp, err := httpclient.PostJson[api.ComboTokenRsp](url+"/hk4e_global/combo/granter/login/v2/login", comboTokenReq, "")