上传图片返回识别[来货登记表]
POST
/materials-income/upload-pic请求参数
Body 参数multipart/form-data
file
file
可选
示例值:
cmMtdXBsb2FkLTE3MDUwMTk0OTE1OTgtNA==/仓库收料.jpg
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {10}]
必需
courier_number
string
快递单号
materials_num
string
物料数量
materials_type
string
物料规格
description
string
描述
vendor_name
string
供应商名字
materials_sn
string
物料编号
remark
string
备注
materials_name
string
物料名字
empty
boolean
必需
materials_addres
string
物料位置
物料存放位置
示例
成功示例
{
"code": 20000,
"message": "获取成功",
"data": [
{
"courier_number": "787878787878789",
"materials_num": "11",
"materials_address": "H-8-8-0",
"materials_type": "赛文",
"description": "中通快递",
"vendor_name": "供应商4号",
"materials_sn": "12345",
"remark": "不喜欢蔬菜",
"materials_name": "奥特曼",
"empty": false
},
{
"courier_number": "9090909090909091",
"materials_num": "10",
"materials_address": "H-2-2-2",
"materials_type": "赛文",
"description": "圆通",
"vendor_name": "供应商5号",
"materials_sn": "12345",
"remark": "薯片吃多要喝水",
"materials_name": "奥特曼",
"empty": false
}
]
}
最后修改时间: 1 年前