文档
测试

提交收取表单

POST
http://xyfapi.leecs.cn/xyf/insertCollectRecord

接口描述

提交收取表单(创建一个收取的记录,衣服的记录像规格一样)type为2时为编辑,删除以前的衣服记录,重新提交(未确认前)

请求头

参数名
类型
描述
必填
token
String
token
必填

请求参数

参数名
类型
描述
必填
three_collect_id
int
三级点ID
必填
type
int
为1时为提交,为2时为编辑
必填
clothes_name
String
衣服的名称
必填
price
int
衣服的价格(单位为分)
必填
count
int
数量
必填
collectRecordClothesList
list
最后三个在这个集合里面,见下面的实例
必填
clothes_id
int
衣服的id
必填
id
String
主键id
必填

说明 / 示例

{ "id":"b06298c82c694eed8c5d625d94d5f908", "type":1, "three_collect_id":2, "collectRecordClothesList":[{ "price": 100, "count": 22, "clothes_name": "白大褂", "clothes_id":"60001" }, { "price": 45, "count": 2, "clothes_name": "工作衣", "clothes_id":"60002" }] }