- 基本地址 - 测试环境: https://hw-gz26.heyqiwu.cn/api/officalserver #### 获取openId URL: {基本地址}/wechat/mini/program/openid METHOD: GET RequestParams: | Key | Describe | | :----------- | :------------: | | q | 请求参数拼接之后aes加密串 | q中包含的参数: | Key | Describe | | :----------- | :------------: | | jsCode | 小程序的jsCode | | appId | 微信appId | Headers: | key | value | | :----------- | :------------: | | Content-Type | application/json;charset=utf-8 | | App-Channel-Id | 渠道ID | | Timestamp | 时间戳 | | Authorization | Secret:Timestamp md5摘要之后的串 | ResponseBody: ```json { "status": 200, "message":"提示信息", "retcode": 0, // 0:表示成功,其他表示失败 "payload": "", // aes加密json之后的串 } ``` payload中包含的参数: | Key | Describe | | :----------- | :------------: | | openId | 用户id |