根据Id查找单个[供应商]信息
GET
/vendors/{id}请求参数
Path 参数
id
integer
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
contact_name
string
必需
contact_phone
string
必需
description
string
必需
vendor_name
string
必需
remark
string
必需
vendor_state
integer
必需
vendorState
string
必需
vendor_address
string
必需
contact_email
string
必需
is_deleted
integer
必需
registration_end_date
string
必需
vendor_id
integer
必需
by_user
string
必需
registration_start_date
string
必需
示例
成功示例
{
"code": 20000,
"message": "获取[供应商]信息成功",
"data": {
"contact_name": "联系人名字1",
"contact_phone": "19120596642",
"description": "好好好",
"vendor_name": "供应商名称1",
"remark": "",
"vendor_state": 0,
"vendorState": "合作",
"vendor_address": "供应商地址",
"contact_email": "1804935547@qq.com",
"is_deleted": 0,
"registration_end_date": "2023-12-10T10:02:28",
"vendor_id": 1,
"by_user": "李嘉榕",
"registration_start_date": "2023-12-28T17:07:30"
}
}
最后修改时间: 1 年前