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) {
|
func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
|
||||||
this.checkLock()
|
this.checkLock()
|
||||||
|
accountId := c.DefaultQuery("account_id", "")
|
||||||
|
sessionId := c.DefaultQuery("session_id", "")
|
||||||
cbParams := struct {
|
cbParams := struct {
|
||||||
AccountId string `json:"account_id"`
|
AccountId string `json:"account_id"`
|
||||||
Mails []struct {
|
Mails []struct {
|
||||||
@ -122,8 +124,8 @@ func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
|
|||||||
f5.GetHttpCliMgr().SendGoStyleJsonRspPost(
|
f5.GetHttpCliMgr().SendGoStyleJsonRspPost(
|
||||||
mt.Table.Config.GetGameApiUrl() + "/webapp/index.php?",
|
mt.Table.Config.GetGameApiUrl() + "/webapp/index.php?",
|
||||||
map[string]string{
|
map[string]string{
|
||||||
"account_id": this.GetAccountId(),
|
"account_id": accountId,
|
||||||
"session_id": this.GetSessionId(),
|
"session_id": sessionId,
|
||||||
"c": "Mail",
|
"c": "Mail",
|
||||||
"a": "getAttachmentCb",
|
"a": "getAttachmentCb",
|
||||||
"sign": signStr,
|
"sign": signStr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user