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