更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-8
View File
@@ -17,7 +17,6 @@ import (
beego "github.com/beego/beego/v2/server/web"
)
// PlatformOperationLogController 操作日志(yz_system_operation_log)
type PlatformOperationLogController struct {
beego.Controller
}
@@ -32,7 +31,6 @@ func (c *PlatformOperationLogController) jsonErr(httpStatus, bizCode int, msg st
_ = c.ServeJSON()
}
// List GET /platform/operationLogs?page=1&pageSize=20&keyword=&module=&action=&status=&startTime=&endTime=
func (c *PlatformOperationLogController) List() {
if _, err := c.platformClaims(); err != nil {
code := identity.Status(err)
@@ -61,7 +59,6 @@ func (c *PlatformOperationLogController) List() {
qs := models.Orm.QueryTable(new(models.SystemOperationLog)).Filter("delete_time__isnull", true)
// 条件拼装
cond := orm.NewCondition()
needCond := false
@@ -160,7 +157,6 @@ func (c *PlatformOperationLogController) List() {
_ = c.ServeJSON()
}
// Detail GET /platform/operationLogs/:id
func (c *PlatformOperationLogController) Detail() {
if _, err := c.platformClaims(); err != nil {
code := identity.Status(err)
@@ -206,7 +202,6 @@ func (c *PlatformOperationLogController) Detail() {
_ = c.ServeJSON()
}
// Delete DELETE /platform/operationLogs/:id
func (c *PlatformOperationLogController) Delete() {
if _, err := c.platformClaims(); err != nil {
code := identity.Status(err)
@@ -240,7 +235,6 @@ type batchDeletePayload struct {
IDs []uint64 `json:"ids"`
}
// BatchDelete POST /platform/operationLogs/batchDelete
func (c *PlatformOperationLogController) BatchDelete() {
if _, err := c.platformClaims(); err != nil {
code := identity.Status(err)
@@ -274,8 +268,6 @@ func (c *PlatformOperationLogController) BatchDelete() {
_ = c.ServeJSON()
}
// Statistics GET /platform/operationLogs/statistics
// 供前端筛选项:modules/actions
func (c *PlatformOperationLogController) Statistics() {
if _, err := c.platformClaims(); err != nil {
code := identity.Status(err)