This commit is contained in:
aozhiwei 2024-04-27 09:47:32 +08:00
parent f341aee0e0
commit deb34b460e
2 changed files with 5 additions and 20 deletions

View File

@ -1,20 +0,0 @@
package controller
import (
"github.com/gin-gonic/gin"
)
func mail_getMailList(c *gin.Context) {
}
func mail_markMail(c *gin.Context) {
}
func mail_getUnreadMailCnt(c *gin.Context) {
}
func mail_getAttachment(c *gin.Context) {
}
func mail_deleteMails(c *gin.Context) {
}

View File

@ -7,6 +7,7 @@ import (
"main/constant" "main/constant"
"sync" "sync"
"fmt" "fmt"
"net/http"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )
@ -100,6 +101,10 @@ func (this *mailMgr) loadGroupMembers() {
} }
func (this *mailMgr) CaGetMailList(c *gin.Context) { func (this *mailMgr) CaGetMailList(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"code": 50014,
"message": "未登录或非法访问",
})
/* /*
rspObj := struct { rspObj := struct {
ErrCode int32 `json:"errcode"` ErrCode int32 `json:"errcode"`