1
This commit is contained in:
parent
ef3ad1898b
commit
0ed130b85c
@ -4,6 +4,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"q5"
|
"q5"
|
||||||
|
"f5"
|
||||||
"main/common"
|
"main/common"
|
||||||
"mt"
|
"mt"
|
||||||
)
|
)
|
||||||
@ -62,8 +63,16 @@ func mail_getAttachment(c *gin.Context) {
|
|||||||
*q5.NewSliceElement(&mails) = mailDto
|
*q5.NewSliceElement(&mails) = mailDto
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
hum.UnLock()
|
||||||
apiUrl := mt.Table.Config.GetGameApiUrl()
|
apiUrl := mt.Table.Config.GetGameApiUrl()
|
||||||
c.JSON(http.StatusOK, msg)
|
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) {
|
func mail_deleteMails(c *gin.Context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user