简要描述
请求url
https://www.商城域名.com/index.php?s=/api/wxofficial/oauthUrl 
请求方式
是否需授权登录
请求header
| 参数名 | 
类型 | 
是否必须 | 
示例值 | 
说明 | 
| storeId | 
int | 
必填 | 
10001 | 
商城ID | 
| platform | 
string | 
必填 | 
H5 | 
当前请求的客户端(APP、小程序、H5等) | 
| Access-Token | 
string | 
选填 | 
- | 
当前登录用户的 Token | 
请求参数
返回示例
{
  "status": 200,
  "message": "success",
  "data": {
    "redirectUrl": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxdc7ae596a97f1a97&redirect_uri=https%3A%2F%2Flocalhost%2F%23%2Fpages%2Flogin%2Findex%2F%23%2Fpages%2Flogin%2Findex&response_type=code&scope=snsapi_userinfo&state=a5bbef5f2b1f594d62dcefde5ab47cde&connect_redirect=1#wechat_redirect"
  }
}
返回参数
| 参数名 | 
类型 | 
示例值 | 
说明 | 
| status | 
int | 
200 | 
请求状态(200:请求成功;500:请求错误/失败) | 
| message | 
string | 
success | 
请求结果的信息,默认为 success | 
| data | 
object | 
- | 
返回的业务数据 | 
data 参数