{ "openapi": "3.0.1", "info": { "title": "危化圈 APP Api", "description": "This is a weihuaquan api server.", "version": "1.0.0" }, "paths": { "/app/user/wx/login": { "post": { "tags": [ "weihuaquan" ], "summary": "微信登录", "operationId": "WxLogin-fm", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WxLogin-FmInput" } } } }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseHttpResult[Chemen-Gva/Server/Model/App/Resp.LoginResp]" } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": null, "example": { "error": "该用户被封禁" } } } } } } } }, "components": { "schemas": { "RespLoginResp": { "type": "object", "properties": { "expiresAt": { "type": "integer", "format": "int64" }, "refreshToken": { "type": "string" }, "token": { "type": "string" }, "user": { "$ref": "#/components/schemas/RespUserBaseInfoResp" } } }, "RespUserBaseInfoResp": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" } } }, "ResponseHttpResult[Chemen-Gva/Server/Model/App/Resp.LoginResp]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "data": { "$ref": "#/components/schemas/RespLoginResp" }, "msg": { "type": "string" } } }, "WxLogin-FmInput": { "type": "object", "properties": { "code": { "type": "string" } } } } }, "tags": [ { "name": "weihuaquan", "description": "危化圈用户注册登录等" } ] }