获取系统设置
# 接口用途:
认证站-获取系统设置
## 请求地址
```
api/m
```
## 公共请求参数
| 名称 | 参数名 | 类型 | 说明 |是否必填
|------------|--------|--------|----------------------------------------------------------|-
| 请求类型 | type | string | 固定值: xy.user.reg.switch |是
| pid | pid | string | |是
| 时间戳 | time | string | 指格林威治时间1970年01月01日00时00分00秒起至现在的总秒数 |是
| 加密字符串 | sign | string | MD5(pid#pkey#time#type) 不区分大小写 pid pkey由我方提供 |是
## 请求参数
| 名称 | 参数名 | 类型 | 说明 |是否必填
|----------|-----------|--------|----------------|-
| 加密 | tiket | string | MD5(type#time) |是
### 签名
-
### 请求实例
-
### 成功返回值
``` json
{
"code":1,
"msg":"",
"data":{
"acc":"on",
"mail":"on",
"phone":"on",
"quick":"off",
"fcm":"off",
"code":"off",
"validate":"off",
"qq":"off",
"wechat":"on",
"sina":"off",
"wechatauth":"off",
"facebook":"off",
"google":"off",
"rule": {
"reg_acc_min":"",
"reg_acc_max":"12",
"reg_pass_min":"",
"reg_pass_max":"",
"reg_acc_state":"on"
},
"config":{
"vip":"http://vip2.wan911.com",
"reg":"http://vip2.wan911.com/help/yhxy.htm",
"forget":"http://vip2.wan911.com/forget/",
"cdn":"http://cdn.wan911.com"
}
}
}
```
### 返回参数说明
| 参数名 | 类型 | 说明 |
|--------|--------|--------------|
| code | bool | 是否执行成功 |
| msg | object | 具体数据 |
| data | string | 返回的信息 |
### 备注
-