feat: 操作日志

This commit is contained in:
Blizzard
2025-09-15 21:49:55 +08:00
parent 6beb915adf
commit 79c19bc47c
10 changed files with 186 additions and 15 deletions
+16
View File
@@ -0,0 +1,16 @@
package system
import "github.com/gin-gonic/gin"
type OperationRecordRouter struct {
}
func (o *OperationRecordRouter) InitOperationRecordRouter(Router *gin.RouterGroup) {
operationRecordRouter := Router.Group("operationRecord")
{
operationRecordRouter.POST("createOperationRecord", operationRecordApi.CreateOperationRecord) // 新增操作记录
operationRecordRouter.GET("getOperationRecordList", operationRecordApi.GetRecordList) // 获取操作记录列表
operationRecordRouter.GET("getOperationRecordById", operationRecordApi.GetRecordById) // 获取操作记录
operationRecordRouter.DELETE("delete", operationRecordApi.DeleteRecordsByIds) // 批量删除操作记录
}
}