1
This commit is contained in:
parent
5957e75018
commit
ef3ad1898b
@ -5,6 +5,7 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"q5"
|
||||
"main/common"
|
||||
"mt"
|
||||
)
|
||||
|
||||
func mail_getMailList(c *gin.Context) {
|
||||
@ -61,6 +62,7 @@ func mail_getAttachment(c *gin.Context) {
|
||||
*q5.NewSliceElement(&mails) = mailDto
|
||||
}
|
||||
}
|
||||
apiUrl := mt.Table.Config.GetGameApiUrl()
|
||||
c.JSON(http.StatusOK, msg)
|
||||
}
|
||||
|
||||
|
@ -13,3 +13,7 @@ type ConfigTable struct {
|
||||
f5.IdMetaTable[Config]
|
||||
selfConf *Config
|
||||
}
|
||||
|
||||
func (this *ConfigTable) GetGameApiUrl() string {
|
||||
return this.selfConf.GetGameapiUrl()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user