获取渠道
POST
/commonApi/inner/getChannelList
请求参数
Header 参数
token
string
可选
示例值:
150e1b82-0c79-41a7-a1ea-7908e27f9883
Body 参数application/json
houseCode
string
仓库编码
busType
integer
必需
type
string
渠道类型
示例
{
"houseCode": "string",
"busType": 0,
"type": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/commonApi/inner/getChannelList' \
--header 'token: 150e1b82-0c79-41a7-a1ea-7908e27f9883' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer | null
错误码
data
array [object {3}] | null
返回数据
channelId
integer
渠道id
channelCode
string
渠道编码
channelName
string
渠道简称
msg
string | null
可选
errorMsg
string | null
可选
actionMsg
string | null
用于统一行为
solution
string | null
可选
msgCode
string | null
可选
示例
{
"code": 0,
"data": [
{
"channelId": 0,
"channelCode": "string",
"channelName": "string"
}
],
"msg": "string",
"errorMsg": "string",
"actionMsg": "string",
"solution": "string",
"msgCode": "string"
}
修改于 2025-03-12 01:24:10