This commit is contained in:
aozhiwei 2024-11-20 13:34:51 +08:00
parent 5393db0092
commit a207fb292a

View File

@ -19,6 +19,13 @@ func (this *GmApi) ExecCmd(c *gin.Context) {
if s == nil { if s == nil {
return return
} }
reqJson := struct {
Cmd string `json:"cmd"`
}{}
if err := c.ShouldBindJSON(&reqJson); err != nil {
f5.RspErr(c, 401, "params parse error")
return
}
user := new(model.User) user := new(model.User)
rspObj := struct { rspObj := struct {
vo.BaseVo vo.BaseVo