文档
测试

一库一码列表

GET
{{host}}/api/ynl-devops/asset-code

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvZGV2LWpqY29sZGNoYWluLmNvbGR5dW4ubmV0XC9hcGlcL3lubFwvbG9naW4iLCJpYXQiOjE2ODQ5MDAzNzQsImV4cCI6MTY4NDkwMzk3NCwibmJmIjoxNjg0OTAwMzc0LCJqdGkiOiIwaEYwYTJhSTFkd1drbDZtIiwic3ViIjoxMTgxMywicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.S0FONInVlRRnHh7rOYpiNlCwjXYqiybsPCcb-zVQj34
必填

响应参数

参数名
类型
描述
必填
data
array
数据列表
必填
id
int
示例:49201
必填
owner_id
string
示例:四川省
必填
unit_id
string
示例:天星村
必填
asset_model_id
string
示例:高温库
必填
name
string
示例:冷库012
必填
code
string
示例:510115105254001
必填
img_host
string
示例:https://cdn-oss.coldyun.net/
必填
unit_info
object
数据字典
必填
id
int
示例:220497
必填
owner_id
int
示例:6
必填
unit_id
int
示例:220507
必填
title
string
示例:天星村
必填
short
string
示例:天星村
必填
province_id
int
示例:510000
必填
city_id
string
示例:510600
必填
district_id
string
示例:510604
必填
town_id
string
示例:510604107000
必填
village_id
string
示例:510604107202
必填
category_id
int
示例:14
必填
address
string
示例:德阳市罗江区新盛镇天星村7组
必填
latitude
string
示例:31.273049
必填
longitude
string
示例:104.6438
必填
contact
string
示例:张三
必填
phone
string
示例:18811112222
必填
created_at
string
示例:2022-08-03 00:18:17
必填
updated_at
string
示例:2023-02-01 18:09:45
必填
asset_code_info
object
示例:null
必填
lease_info
object
示例:null
必填
meta
object
数据字典
必填
pagination
object
数据字典
必填
total
int
示例:27
必填
count
int
示例:10
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
total_pages
int
示例:3
必填
links
object
数据字典
必填
next
string
示例:https://dev-jjcoldchain.coldyun.net/api/ynl-devops/asset-code?page=2
必填