文档
测试

添加货物

POST
http://xhf.qmbzch.cn/api/product_class/add_product

请求参数

参数名
类型
描述
必填
product_class_id
int
示例:5 所属的货物分类id
必填
product_name
string
示例:西红柿 最多30个汉字
必填
company_grouping_id
int
分组单位id
必填
product_code
int
示例:20312 数组和字母 最长32
必填
other_code
int
示例:2021 数组和字母 最长32
必填
default_company_key
str
默认单位 是单位key值
必填
early_warning_number
number
浮点数 保留到小数点后2位
必填
price
number
浮点数 保留到小数点后2位
必填
img
str
图片路径字符串 英文逗号链接
必填

响应参数

参数名
类型
描述
必填
state
string
示例:ok
必填
message
string
示例:添加成功
必填