1
This commit is contained in:
parent
47b1ca0245
commit
52eeda5545
@ -92,6 +92,8 @@ func (this *player) MarkMails(mails []common.Mail) error {
|
||||
|
||||
func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
|
||||
this.checkLock()
|
||||
accountId := c.DefaultQuery("account_id", "")
|
||||
sessionId := c.DefaultQuery("session_id", "")
|
||||
cbParams := struct {
|
||||
AccountId string `json:"account_id"`
|
||||
Mails []struct {
|
||||
@ -122,8 +124,8 @@ func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
|
||||
f5.GetHttpCliMgr().SendGoStyleJsonRspPost(
|
||||
mt.Table.Config.GetGameApiUrl() + "/webapp/index.php?",
|
||||
map[string]string{
|
||||
"account_id": this.GetAccountId(),
|
||||
"session_id": this.GetSessionId(),
|
||||
"account_id": accountId,
|
||||
"session_id": sessionId,
|
||||
"c": "Mail",
|
||||
"a": "getAttachmentCb",
|
||||
"sign": signStr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user