1
This commit is contained in:
parent
5393db0092
commit
a207fb292a
@ -19,6 +19,13 @@ func (this *GmApi) ExecCmd(c *gin.Context) {
|
||||
if s == nil {
|
||||
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)
|
||||
rspObj := struct {
|
||||
vo.BaseVo
|
||||
|
Loading…
x
Reference in New Issue
Block a user