Commit a318bbae74e0f128bb2b83de4ff09fc4ab8ca6bc

Authored by aarongao
1 parent 76d39dbf
Exists in v1.2 and in 2 other branches master, v1.1

.

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
@@ -128,7 +128,7 @@ func LoginUser(c *gin.Context) { @@ -128,7 +128,7 @@ func LoginUser(c *gin.Context) {
128 // @Param SystemModel iphone8 string false "手机型号(存放于http.header中)" 128 // @Param SystemModel iphone8 string false "手机型号(存放于http.header中)"
129 // @Param AppVersion 1.0 string false "app版本号(存放于http.header中)" 129 // @Param AppVersion 1.0 string false "app版本号(存放于http.header中)"
130 // @Param DeviceToken abc string false "推送token(存放于http.header中)" 130 // @Param DeviceToken abc string false "推送token(存放于http.header中)"
131 -// @Success 200 {object} tools.ResponseSeccess "{"errcode":0,"result":{"Id":"5e09c64c1c09c6f0f7ca2fa9","Token":"640bf934e425aba5d3c90998b2641f2f0ca07261d334d9615d1cd4790b5f34e7"}} 调用其它需要登陆的接口时携带token,有过期时间" 131 +// @Success 200 {object} tools.ResponseSeccess "{"errcode":0,"result":"ok"}"
132 // @Failure 500 {object} tools.ResponseError "{"errcode":1,"errmsg":"错误原因"}" 132 // @Failure 500 {object} tools.ResponseError "{"errcode":1,"errmsg":"错误原因"}"
133 // @Router /RegisterDevice? [post] 133 // @Router /RegisterDevice? [post]
134 func RegisterDevice(c *gin.Context) { 134 func RegisterDevice(c *gin.Context) {
@@ -484,7 +484,7 @@ @@ -484,7 +484,7 @@
484 484
485 | Code | Type | Model | Message | 485 | Code | Type | Model | Message |
486 |-----|-----|-----|-----| 486 |-----|-----|-----|-----|
487 -| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":{"Id":"5e09c64c1c09c6f0f7ca2fa9","Token":"640bf934e425aba5d3c90998b2641f2f0ca07261d334d9615d1cd4790b5f34e7"}} 调用其它需要登陆的接口时携带token,有过期时间 | 487 +| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
488 | 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} | 488 | 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |
489 489
490 490