This commit is contained in:
aozhiwei 2024-02-14 08:56:55 +08:00
parent ef3ad1898b
commit 0ed130b85c

View File

@ -4,6 +4,7 @@ import (
"net/http"
"github.com/gin-gonic/gin"
"q5"
"f5"
"main/common"
"mt"
)
@ -62,8 +63,16 @@ func mail_getAttachment(c *gin.Context) {
*q5.NewSliceElement(&mails) = mailDto
}
}
hum.UnLock()
apiUrl := mt.Table.Config.GetGameApiUrl()
params := make(map[string]string)
f5.GetHttpCliMgr().SyncSendGoStyleRequest(
apiUrl,
params,
func (rsp f5.HttpCliResponse) {
hum.Lock()
c.JSON(http.StatusOK, msg)
})
}
func mail_deleteMails(c *gin.Context) {