Open chufengma opened 8 years ago
发布加工信息(仅卖家)
handing/push multiPost
---
String type; // 加工类型
String souCityId; // 加工所在城市
String title; // 标题
float price; // 价格
String unit; // 单位
File cover; // 封面
File image1; // 可选
File image2; // 可选
File image3; // 可选
---
jsonData = {}
发布求购信息
handing/buy Post
---
String handingType;
String souCityId;
String message;
long timeLimit; // 时间限制(以秒为单位)
---
jsonData={}
加工信息分页
handing/handing Get
---
int currentPage;
int pageCount;
String userId; (可选)
handingType; // 加工种类 (可选)
souCityId; // 加工所在城市 (可选)
keyword; // 关键词(可选)
boolean score; // 按score排序,true从高到低,false反之(可选)
boolean price; // 按价格排序,true从高到低(可选)
boolean monthSellCount; // 按月销量排序 true从高到低(可选)
---
jsonData = {
maxCount,
currentPage,
pageCount,
List<HandingProduct> handingProducts,
}
其中:
HandingProduct = {
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"id": "A2amYGBYWgVu",
"monthSellCount": 23,
"price": 123,
"score": 0,
"souCityId": "wYC4sP3V",
"sourceCity": "广东 深圳 ",
"title": "sss",
"type": "整卷油磨",
"unit": "米"
},
求购信息分页
handing/buy Get
---
currentPage
pageCount
public String handingType; (可选)
public String cityId; (可选)
public String userId; (可选)
---
{
"data": {
"currentPage": 0,
"handings": [
{
"handingType": "冲花板",
"id": "PmPNOklFbltl",
"message": "asfasdf",
"pushTime": 1466819441150,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"timeLimit": 1466819442150,
"userId": "527cec6a380046b5b813537e10d065e9"
},
{
"handingType": "冲花板",
"id": "d0p50HOYdWCc",
"message": "asfasdf",
"pushTime": 1466227226321,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"timeLimit": 0,
"userId": "527cec6a380046b5b813537e10d065e9"
}
],
"maxCount": 2,
"pageCount": 3
},
"errorMsg": "",
"status": 0
}
获取加工信息选择器