文档
测试

获取渠道列表(无限级分类)

POST
http://baopin.daoben.ltd/api/amoy/channelList

请求参数

参数名
类型
描述
必填
token
string
示例:1b6079b2-0256-4550-b501-c2a5fdc84ba0
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1672742334
必填
data
object
数据字典
必填
online
array
数据列表------线上渠道
必填
id
int
示例:1------渠道ID
必填
cname
string
示例:社区团购------渠道名称
必填
mold
string
示例:1------渠道类型:1=线上渠道,2=线下渠道
必填
pid
int
示例:0------渠道父ID
必填
path
object
示例:null------
必填
weigh
int
示例:1
必填
status
string
示例:normal
必填
createtime
int
示例:1672211335
必填
updatetime
int
示例:1672211335
必填
deletetime
object
示例:null
必填
children
array
数据列表------子级渠道
必填
id
int
示例:14
必填
cname
string
示例:社区团购一
必填
mold
string
示例:1
必填
pid
int
示例:1
必填
path
string
示例:.1.
必填
weigh
int
示例:14
必填
status
string
示例:normal
必填
createtime
int
示例:1672216254
必填
updatetime
int
示例:1672216254
必填
deletetime
object
示例:null
必填
children
array
数据列表
必填
id
int
示例:15
必填
cname
string
示例:社区团购二
必填
mold
string
示例:1
必填
pid
int
示例:14
必填
path
string
示例:.1.14.
必填
weigh
int
示例:15
必填
status
string
示例:normal
必填
createtime
int
示例:1672219418
必填
updatetime
int
示例:1672219418
必填
deletetime
object
示例:null
必填
children
array
数据列表
必填
offline
array
数据列表------线下渠道/说明同 线上渠道一样
必填
id
int
示例:6
必填
cname
string
示例:流通渠道
必填
mold
string
示例:2
必填
pid
int
示例:0
必填
path
object
示例:null
必填
weigh
int
示例:6
必填
status
string
示例:normal
必填
createtime
int
示例:1672211572
必填
updatetime
int
示例:1672211572
必填
deletetime
object
示例:null
必填
children
array
数据列表
必填