caipin hace 3 años
padre
commit
3f4482bf57
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/api/login_api.go

+ 1 - 1
web/api/login_api.go

@@ -64,7 +64,7 @@ func (c *LoginApi) Post() {
 // @Success 200 {string} string	"{code:0,msg:string}"
 // @Success 200 {string} string	"{code:0,msg:string}"
 // @Failure 400 {string} string "{code:-1,msg:string}"
 // @Failure 400 {string} string "{code:-1,msg:string}"
 // @Router /api/login/out [post]
 // @Router /api/login/out [post]
-func (c *LoginApi) PostOut() {
+func (c *LoginApi) GetOut() {
 	c.ServiceLogin.Out(c.Ctx)
 	c.ServiceLogin.Out(c.Ctx)
 	c.Ctx.JSON(iris.Map{"code": 0, "msg": ""})
 	c.Ctx.JSON(iris.Map{"code": 0, "msg": ""})
 }
 }