You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
414 B

package system
import (
"gin-vue-admin/api/v1"
"gin-vue-admin/middleware"
"github.com/gin-gonic/gin"
)
type EmailRouter struct {
}
func (s *EmailRouter) InitEmailRouter(Router *gin.RouterGroup) {
emailRouter := Router.Group("email").Use(middleware.OperationRecord())
var systemApi = v1.ApiGroupApp.SystemApiGroup.SystemApi
{
emailRouter.POST("emailTest", systemApi.EmailTest) // 发送测试邮件
}
}