This commit is contained in:
aozhiwei 2024-07-06 21:20:30 +08:00
parent 47b1ca0245
commit 52eeda5545

View File

@ -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,