uint ->int

This commit is contained in:
renzhiyuan 2024-11-29 17:14:02 +08:00
parent 1493c66778
commit a4e4a27350
1 changed files with 8 additions and 6 deletions

View File

@ -9,12 +9,14 @@ import (
) )
type CmdListRequest struct { type CmdListRequest struct {
Page int `json:"page" validate:"required" form:"page" example:"1"` Page int `json:"page" validate:"required" form:"page" example:"1"`
Limit int `json:"limit" validate:"required" form:"limit" example:"10"` Limit int `json:"limit" validate:"required" form:"limit" example:"10"`
CmdName string `json:"cmd_name" form:"cmd_name" example:"155555555"` CmdName string `json:"cmd_name" form:"cmd_name" example:"155555555"`
Status int `json:"status" form:"status" example:"1"` Status int `json:"status" form:"status" example:"1"`
ExecuteType int `json:"execute_type" form:"execute_type" example:"46516"` ExecuteType int `json:"execute_type" form:"execute_type" example:"46516"`
CmdIds []string `json:"cmd_id"` ExecuteRead string `json:"execute_read"`
ExecuteWrite string `json:"execute_write"`
CmdIds []string `json:"cmd_id"`
} }
type CmdInfoRequest struct { type CmdInfoRequest struct {