1
This commit is contained in:
parent
4fee31de1f
commit
ca42d7fbdc
@ -46,7 +46,17 @@ func mail_getUnreadMailCnt(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func mail_getAttachment(c *gin.Context) {
|
func mail_getAttachment(c *gin.Context) {
|
||||||
|
//hum := c.MustGet("player").(common.Player)
|
||||||
|
var msg struct {
|
||||||
|
ErrCode int32 `json:"errcode"`
|
||||||
|
ErrMsg string `json:"errmsg"`
|
||||||
|
}
|
||||||
|
mailIdsStr := q5.StrSplit(c.DefaultQuery("mail_ids", ""), ",")
|
||||||
|
mailIds := []int64{}
|
||||||
|
for i := 0; i < len(mailIdsStr); i++ {
|
||||||
|
*q5.NewSliceElement(&mailIds) = q5.ToInt64(mailIdsStr[i])
|
||||||
|
}
|
||||||
|
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