获取小程序配置
GET
/adminapi/channel.mnp_settings/getConfig请求参数
无
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
show
integer
required
msg
string
required
data
object
required
name
string
required
小程序名称
original_id
integer
required
原始id
qr_code
string
required
二维码
app_id
integer
required
app_secret
string
required
request_domain
string
required
request合法域名
socket_domain
string
required
socket合法域名
upload_file_domain
string
required
uploadFile合法域名
download_file_domain
string
required
downloadFile合法域名
udp_domain
string
required
udp合法域名
business_domain
string
required
业务域名
Example成功示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"name": "演示小程序",
"original_id": 123456,
"qr_code": "http://www.smyy.localhost/1111",
"app_id": 654321,
"app_secret": "asdasdsaerfas",
"request_domain": "https://www.smyy.localhost",
"socket_domain": "wss://www.smyy.localhost",
"upload_file_domain": "https://www.smyy.localhost",
"download_file_domain": "https://www.smyy.localhost",
"udp_domain": "udp://www.smyy.localhost",
"business_domain": "www.smyy.localhost"
}
}
Last modified: 2 年前