- 对接前必看
- 号卡/宽带业务
- 靓号业务
- 物联卡业务
获取店铺基础配置
GET
/openapi/base/config
请求参数
Query 参数
promoCode
string
必需
示例值:
1
Body 参数application/x-www-form-urlencoded
object {0}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/base/config?promoCode=1'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
front
object
店铺配置
promoCode
string
当前推广码
promoName
string
推广码名称
isAgent
boolean
必需
domain
string
独立域名
inviteCode
string
注册邀请码
timestamp
integer
必需
traceID
string
必需
示例
{
"code": 0,
"message": "string",
"data": {
"front": {
"title": "string",
"keywords": "string",
"description": "string",
"logo": "string",
"indexCarousel": [
{
"src": "string",
"click": "string"
}
],
"bottomTips": "string",
"ipcCode": "string",
"kefuUrl": "string",
"kefuQr": "string",
"kefuMobile": "string",
"followQr": "string",
"shopTemplate": 0,
"fastNav": [
{
"icon": "string",
"title": "string",
"label": "string",
"click": "string",
"show": true
}
],
"tabbar": [
"string"
],
"suggest": true
},
"promoCode": "string",
"promoName": "string",
"isAgent": true,
"domain": "string",
"inviteCode": "string"
},
"timestamp": 0,
"traceID": "string"
}
修改于 2025-01-02 07:56:01