文档
测试

getAgencyList(获取旅行社列表)

GET
http://milaapi.yfcat.com/admin/agency/getAgencyList

接口描述

获取旅行社列表

响应参数

参数名
类型
描述
必填
status
状态码
200
必填
200
响应成功
必填
data
对象
返回结果
必填
total
整型
总计
必填
per_page
整型
每页
必填
current_page
整型
当前页
必填
last_page
整型
最后一页
必填
data
数组
返回列表
必填
id
整型
id
必填
uid
整型
用户id
必填
agencyname
字符串
旅行社名称
必填
province
字符串
省份
必填
idcardfronturl
字符串
身份证正面(国徽)
必填
idcardbackurl
字符串
身份证反面(头像)
必填
idcardhandurl
字符串
手持身份证照片
必填
licenseurl
字符串
许可证照片
必填
licenseno
字符串
许可证编号
必填
status
整型
旅行社状态
必填
createtime
时间戳
成立时间
必填
plateid
整型
平台id
必填
type
整型
旅行社类型
必填
otherinfo
字符串
其他信息/资料
必填

说明 / 示例

#### **数据结构:** >s {"status":200,"data":{"total":4,"per_page":15,"current_page":1,"last_page":1,"data":[{"id":1,"uid":2,"agencyname":"官方旅行社1","province":"上海","idcardfronturl":"https:\/\/box.kancloud.cn\/2015-12-12_566b6a10506a4.png","idcardbackurl":"https:\/\/box.kancloud.cn\/2015-12-12_566b6a10506a4.png","idcardhandurl":"https:\/\/box.kancloud.cn\/2015-12-12_566b6a10506a4.png","licenseurl":"https:\/\/box.kancloud.cn\/2015-12-12_566b6a10506a4.png","licenseno":null,"status":1,"createtime":"2020-04-27 10:57:53","plateid":null,"type":0,"otherinfo":"资料"},{"id":2,"uid":3,...