文档
测试

拍照发货

POST
{{host}}/api/ynl-unit/goods

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvampjb2xkY2hhaW4udGVzdFwvYXBpXC95bmxcL2xvZ2luIiwiaWF0IjoxNjg4MjAxNDE2LCJleHAiOjE2ODgyMDUwMTYsIm5iZiI6MTY4ODIwMTQxNiwianRpIjoiY0hSSE9BR1lNcFFYbXlUeCIsInN1YiI6MTE2MjQsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.PgB_-_AV8oJAnG11Ra6-tjvqAGaLxK5dfuol9WwJyYY
必填

请求参数

参数名
类型
描述
必填
title
string
示例:四川雪莲果,量大果优
必填
images
array
数据列表
必填
videos
array
数据列表
必填
category_id
string
示例:1
必填
goods_unit_id
int
示例:1
必填
price
string
示例:2.3
必填
stock
int
示例:100
必填
longitude
string
示例:11111
必填
latitude
string
示例:222222
必填
remark
string
示例:
必填

响应参数

参数名
类型
描述
必填
id
int
示例:1
必填
owner_id
int
示例:0
必填
user_id
int
示例:11624
必填
title
string
示例:四川雪莲果,量大果优
必填
category_id
int
示例:0
必填
unit_id
int
示例:1
必填
price
string
示例:2.30
必填
stock
string
示例:100.000
必填
cover
string
示例:xxxx
必填
images
string
示例:["xxxx","yyyyy","zzzzz"]
必填
video_cover
string
示例:
必填
video
string
示例:["1111","22222","333333"]
必填
status
int
示例:1
必填
address
object
示例:null
必填
longitude
string
示例:11111
必填
latitude
string
示例:222222
必填
remark
object
示例:null
必填
created_date
string
示例:2023-07-01
必填
created_at
string
示例:2023-07-01 16:52:15
必填
updated_at
string
示例:2023-07-01 16:52:15
必填
deleted_at
object
示例:null
必填