aozhiwei 819a77fe4c 1
2024-02-12 19:59:39 +08:00

36 lines
564 B
Go

package controller
import (
"net/http"
"github.com/gin-gonic/gin"
"main/common"
)
func mail_getMailList(c *gin.Context) {
hum := c.MustGet("player").(common.Player)
var msg struct {
ErrCode int32 `json:"errcode"`
ErrMsg string `json:"errmsg"`
MailList []common.MailDto `json:"maillist""`
}
msg.ErrCode = 0
msg.ErrMsg = hum.GetAccountId()
c.JSON(http.StatusOK, msg)
}
func mail_markMail(c *gin.Context) {
}
func mail_getUnreadMailCnt(c *gin.Context) {
}
func mail_getAttachment(c *gin.Context) {
}
func mail_deleteMails(c *gin.Context) {
}