更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -15,7 +15,6 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// PlatformEmailController 系统邮箱配置(yz_system_email)
|
||||
type PlatformEmailController struct {
|
||||
beego.Controller
|
||||
}
|
||||
@@ -56,7 +55,6 @@ func emailRowToMap(m models.SystemEmail) map[string]interface{} {
|
||||
return out
|
||||
}
|
||||
|
||||
// GetInfo GET /platform/email/info
|
||||
func (c *PlatformEmailController) GetInfo() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -165,7 +163,6 @@ func normalizeEncryption(s string) string {
|
||||
}
|
||||
}
|
||||
|
||||
// EditInfo POST /platform/email/editinfo
|
||||
func (c *PlatformEmailController) EditInfo() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -221,7 +218,6 @@ func (c *PlatformEmailController) EditInfo() {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// SendTestEmail POST /platform/email/sendtestemail
|
||||
func (c *PlatformEmailController) SendTestEmail() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
|
||||
Reference in new issue
Block a user