**简要描述:** - uniapp微信第三方app登录 **请求URL:** - ` api/account/uinAppLogin` **请求方式:** - post **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | | openid |必填 |string | openid | | access_token | 必填 | string | access_token | | client |必填 |int |客户端类型:3-ios,4-android | **返回示例** ``` { "code": 1, "msg": "登录成功", "data": { "nickname": "Jason", "avatar": "http:\/\/www.likeshop.localhost\/uploads\/user\/avatar\/fea1c4b149fd1b9d788ffbdffd67107c.jpeg", "level": 0, "distribution_code": "6V7HUW", "token": "e4121d044beeee72c645d7fdcda9063c" }, "show": 0, "time": "0.663060" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |token |string |登录令牌 |nickname |string |昵称 |avatar |string |头像 |token |string | token **备注** - uniapp 可以直接获取到openID 和 access_token,原来第三方app登录需要客户端获取到code然后通过服务端调用微信接口来获取到openID 和 access_token