# 设置当前服务
# 接口描述
用于切换服务到当前预备使用的服务上来。
# 调用地址
请求地址:/OPENAPI/setSpUserBizID.json
请求方法:POST
# 参数说明
参数名 | 类型 | 是否必传 | 说明 |
---|---|---|---|
bizId | numeric | 必传 | 入参服务 ID 编号,如 24。可在/OPENAPI/getNowUser.json 接口查询 |
# 返回结果
{
"state": true,
"errcode": "",
"errmsg": "",
"data": {
"spId": "133",
"name": " TEST USER",
"status": "1",
"riskControlStatus": null,
"appId": "48",
"appKey": "GCisNGxuVQpwE",
"appSecret": "cIHOtHkjzRVZkZHgjQEA",
"bizList": [
{
"id": "24",
"biz_key": "SDK_cpm",
"name": "CPM试听"
},
{
"id": "29",
"biz_key": "SDK_ts",
"name": "短音频/短视频"
}
],
"defaultSpBizId": 24,
"loginFrom": 4
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28