更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -16,7 +16,6 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// BackendOperationLogController 操作日志(yz_system_operation_log)
|
||||
type BackendOperationLogController struct {
|
||||
beego.Controller
|
||||
}
|
||||
@@ -31,7 +30,6 @@ func (c *BackendOperationLogController) jsonErr(httpStatus, bizCode int, msg str
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// List GET /backend/operationLogs?page=1&pageSize=20&keyword=&module=&action=&status=&startTime=&endTime=
|
||||
func (c *BackendOperationLogController) List() {
|
||||
claims, err := c.backendClaims()
|
||||
if err != nil {
|
||||
@@ -66,7 +64,6 @@ func (c *BackendOperationLogController) List() {
|
||||
Filter("tid", tid).
|
||||
Filter("user_id", uid)
|
||||
|
||||
// 条件拼装
|
||||
cond := orm.NewCondition()
|
||||
needCond := false
|
||||
|
||||
@@ -165,7 +162,6 @@ func (c *BackendOperationLogController) List() {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// Detail GET /backend/operationLogs/:id
|
||||
func (c *BackendOperationLogController) Detail() {
|
||||
claims, err := c.backendClaims()
|
||||
if err != nil {
|
||||
@@ -216,7 +212,6 @@ func (c *BackendOperationLogController) Detail() {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// Delete DELETE /backend/operationLogs/:id
|
||||
func (c *BackendOperationLogController) Delete() {
|
||||
claims, err := c.backendClaims()
|
||||
if err != nil {
|
||||
@@ -255,7 +250,6 @@ type backendBatchDeletePayload struct {
|
||||
IDs []uint64 `json:"ids"`
|
||||
}
|
||||
|
||||
// BatchDelete POST /backend/operationLogs/batchDelete
|
||||
func (c *BackendOperationLogController) BatchDelete() {
|
||||
claims, err := c.backendClaims()
|
||||
if err != nil {
|
||||
@@ -294,8 +288,6 @@ func (c *BackendOperationLogController) BatchDelete() {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// Statistics GET /backend/operationLogs/statistics
|
||||
// 供前端筛选项:modules/actions
|
||||
func (c *BackendOperationLogController) Statistics() {
|
||||
claims, err := c.backendClaims()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user