Open chufengma opened 8 years ago
买家不锈钢求购列表点击的详情
/iron/myBuyDetail Get
---
ironId=P7x9wpB1lqtE
---
{
"data": {
"buy": {
"height": 0,
"id": "P7x9wpB1lqtE",
"ironType": "不锈钢管",
"length": 0,
"locationCityId": "LnbsZoa2",
"material": "409L",
"message": "非常好的是不是,我要这个和那个",
"numbers": 0,
"proPlace": "宝新",
"pushTime": 1466227226321,
"sourceCity": "山东 ",
"status": 2,
"surface": "No.1",
"timeLimit": 0,
"tolerance": "",
"userId": "527cec6a380046b5b813537e10d065e9",
"width": 0
},
"supplies": [
{
"companyName": "风马科技有限公司",
"score": 0,
"sellerId": "527cec6a380046b5b813537e10d065e9",
"status": 0,
"supplyMsg": "asdfasdf",
"supplyPrice": 11,
"winningTimes": 0
}
]
},
"errorMsg": "",
"status": 0
}
买家不锈钢求购列表 点击中标
/iron/selectSupply Post
---
ironBuyId:P7x9wpB1lqtE
supplyId:527cec6a380046b5b813537e10d065e9
---
买家加工求购列表
handing/myBuy Get
---
int currentPage=0
int pageCount=10
---
{
"data": {
"canceledCount": 1,
"currentPage": 0,
"handings": [
{
"handingType": "冲花板",
"id": "d0p50HOYdWCc",
"message": "asfasdf",
"pushTime": 1466227226321,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"supplyCount" : 0
"status": 2, // 0 标示正常 1 标示已经中标 2 标示已过期, 3 已有商家报价,候选中
"timeLimit": 0,
"userId": "527cec6a380046b5b813537e10d065e9"
}
],
"lossRate": 1,
"maxCount": 1,
"pageCount": 10
},
"errorMsg": "",
"status": 0
}
买家加工求购列表点击的详情
handing/myBuyDetail Get
---
handingId
---
{
"data": {
"buy": {
"handingType": "冲花板",
"id": "PmPNOklFbltl",
"message": "asfasdf",
"pushTime": 1466819441150,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"status": 1, // 0 未选 1 选中 2 未选中
"timeLimit": 1466819442150,
"userId": "527cec6a380046b5b813537e10d065e9"
},
"supplies": [
{
"companyName": "风马科技有限公司",
"score": 0,
"sellerId": "527cec6a380046b5b813537e10d065e9",
"status": 0,
"supplyMsg": "sfsadf asdf",
"supplyPrice": 123,
"winningTimes": 0
},
{
"companyName": "崂山科技有限公司3",
"score": 1,
"sellerId": "5afa98c48214438dad364113e3a82ce9",
"status": 0,
"supplyMsg": "sfsadf asdf",
"supplyPrice": 123,
"winningTimes": 0
},
{
"companyName": "崂山科技有限公司4",
"score": 1,
"sellerId": "5afa98c48214438dad364113e3a82ce9",
"status": 0,
"supplyMsg": "sfsadf asdf",
"supplyPrice": 123,
"winningTimes": 0
}
]
},
"errorMsg": "",
"status": 0
}
买家加工求购列表 点击中标
handing/selectSupply Post
---
supplyId:5afa98c48214438dad364113e3a82ce9
handingBuyId:PmPNOklFbltl
---
我的订单
order/myOrders Get
---
int currentPage=0
int pageCount=10
---
{
"data": {
"currentPage": 0,
"maxCount": 5,
"orders": [
{
"sellerMobile": "18355551276"
"city": "辽宁 朝阳 ",
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"desc": "201(L1,L2) 不锈钢管",
"id": "2",
"price": 22,
"productType": 0,
"sellMoney": 11,
"sellTime": 0,
"status": 0, // 0 待确认, 1 已确认 未评价 2 已评价
"timeLimit": 199
}
],
"pageCount": 1,
"waitForConfirm": 1,
"waitForVote": 0
},
"errorMsg": "",
"status": 0
}
评价订单
order/vote Post
---
orderId:12016062603
vote:4.3
---
删除订单
order/delete Post
---
orderId
---
我的购物车
/order/myCars Get
---
currentPage=0
pageCount=12
---
{
"data": {
"cars": [
{
"carId": 4,
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"desc": "201(L1,L2) 不锈钢管",
"price": 22223,
"proId": "8mqBXAuVnxZ9",
"productType": 0,
"sourceCity": "辽宁 朝阳 "
}
],
"currentPage": 0,
"maxCount": 1,
"pageCount": 12
},
"errorMsg": "",
"status": 0
}
删除购物车
/order/deleteCar Post
---
carId
---
加入购物车
/order/addToCar Post
---
public int productType;
public String proId;
---
下单
/order/translate Post
---
productType:0
productId:lW3zEDexjb1v
count:3
timeLimit:100003
isFromCar:true
---
批量下单
order/translateAll Post
---
long timeLimit;
List<OrderSingle> orders;
isFromCar:true
---
其中 OrderSingle:
public int productType;
public String productId;
public float count;
我的购物车个数
order/myCarsCount Get
---
---
{
"data": 1,
"errorMsg": "",
"status": 0
}
卖家我的订单
seller/commingOrders Get
---
currentPage=0
pageCount=2
---
{
"data": {
"currentPage": 0,
"maxCount": 8,
"orders": [
{
"cancelBy": 0,// 0 没有被取消 1 被买家取消 2 被卖家取消
"city": "辽宁 朝阳 ",
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"deleteBy": 0, // 0 没有被删除 1 被买家删除 2 被卖家删除
"desc": "201(L1,L2) 不锈钢管",
"id": "2",
"price": 22,
"productType": 0,
"sellMoney": 11,
"sellTime": 0,
"status": 0, // 0 待确认, 1 已确认 未评价 2 已评价 3 已取消 4 已删除
"timeLimit": 199
},
{
"buyerMobile": "18355551276"
"cancelBy": 0,
"city": "辽宁 朝阳 ",
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"deleteBy": 0,
"desc": "201(L1,L2) 不锈钢管",
"id": "3",
"price": 0,
"productType": 0,
"sellMoney": 22,
"sellTime": 0,
"status": 0, // 0 待确认, 1 已确认 未评价 2 已评价 3 已取消 4 已删除
"timeLimit": 199
}
],
"pageCount": 2,
"waitForConfirm": 5
},
"errorMsg": "",
"status": 0
}
卖家确认订单
seller/confirmOrder Post
---
orderId
---
卖家忽略订单
seller/cancelOrder Post
---
orderId
---
卖家删除订单
seller/deleteOrder Post
---
orderId
---
卖家不锈钢报价管理 获取不锈钢报价列表
seller/myIronBuys Get
---
currentPage=0
pageCount=12
---
{
"data": {
"buys": [
{
"height": 11,
"id": "aasdfasdfadsf",
"ironType": "不锈钢管",
"length": 11,
"locationCityId": "MlDFxgAm",
"material": "409L",
"message": "ASFASFASF",
"numbers": 1112311111,
"proPlace": "宝新",
"pushTime": 1466820238101,
"sourceCity": "山东 济宁 ",
"status": 2, // // 0 待报价, 1 交易完成 , 2 过期, 3 已报价候选中, 4 我已中标
"supplyCount": 0,
"supplyWinTime": 0,
"surface": "No.1",
"timeLimit": 112,
"tolerance": "11-123",
"userId": "527cec6a380046b5b813537e10d065e9",
"width": 11
},
{
"height": 11,
"id": "123123222",
"ironType": "不锈钢管",
"length": 11,
"locationCityId": "MlDFxgAm",
"material": "409L",
"message": "ASFASFASF",
"numbers": 1112311111,
"proPlace": "宝新",
"pushTime": 1466820238101,
"sourceCity": "山东 济宁 ",
"status": 4,
"supplyCount": 0,
"supplyUserId": "527cec6a380046b5b813537e10d065e9",
"supplyWinTime": 0,
"surface": "No.1",
"timeLimit": 112,
"tolerance": "11-123",
"userId": "527cec6a380046b5b813537e10d065e9",
"width": 11
}
],
"currentPage": 0,
"maxCount": 2,
"offerTimes": 2,
"offerWinRate": 0,
"pageCount": 12
},
"errorMsg": "",
"status": 0
}
卖家不锈钢报价管理 获取不锈钢报价详情
seller/myIronBuyDetail Get
---
?ironId=aasdfasdfadsf
---
{
"data": {
"buy": {
"height": 11,
"id": "aasdfasdfadsf",
"ironType": "不锈钢管",
"length": 11,
"locationCityId": "MlDFxgAm",
"material": "409L",
"message": "ASFASFASF",
"numbers": 1112311111,
"proPlace": "宝新",
"pushTime": 1466820238101,
"sourceCity": "山东 济宁 ",
"status": 2,
"supplyCount": 0,
"supplyWinTime": 0,
"surface": "No.1",
"timeLimit": 112,
"tolerance": "11-123",
"userId": "527cec6a380046b5b813537e10d065e9",
"width": 11
},
"buyerMobile":"111111",
"salesManPhone": "13908082323"
},
"errorMsg": "",
"status": 0
}
卖家不锈钢报价管理 报价
seller/offerIronBuy Post
---
ironId:PmPNOklFbltl
price:123123
msg:123123123
---
卖家加工报价管理 列表
seller/myHandingBuys Get
---
currentPage=0
pageCount=12
---
{
"data": {
"currentPage": 0,
"handings": [
{
"handingType": "冲花板",
"id": "PmPNOklFbltl",
"message": "asfasdf",
"pushTime": 1466819441150,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"status": 0, // // 0 待报价, 1 交易完成 , 2 过期, 3 已报价候选中, 4 我已中标
"supplyCount": 7,
"supplyUserId": "0",
"supplyWinTime": 0,
"timeLimit": 1466819442150,
"userId": "527cec6a380046b5b813537e10d065e9"
},
{
"handingType": "冲花板",
"id": "d0p50HOYdWCc",
"message": "asfasdf",
"pushTime": 1466227226321,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"status": 2,
"supplyCount": 0,
"supplyWinTime": 0,
"timeLimit": 0,
"userId": "527cec6a380046b5b813537e10d065e9"
}
],
"maxCount": 2,
"offerTimes": 6,
"offerWinRate": 0,
"pageCount": 12
},
"errorMsg": "",
"status": 0
}
卖家加工报价管理 获取加工报价详情
seller/myHandingBuyDetail Get
---
handingId=PmPNOklFbltl
---
{
"data": {
"buy": {
"handingType": "冲花板",
"id": "PmPNOklFbltl",
"message": "asfasdf",
"pushTime": 1466819441150,
"souCityId": "PwUgn58r",
"sourceCity": "黑龙江 ",
"status": 0,
"supplyCount": 0,
"supplyUserId": "0",
"supplyWinTime": 0,
"timeLimit": 1466819442150,
"userId": "527cec6a380046b5b813537e10d065e9"
},
"myOffer": {
"price": 123,
"supplyMsg": "sfsadf asdf"
},
"buyerMobile":"111111",
"salesManPhone": "13908082323"
},
"errorMsg": "",
"status": 0
}
卖家加工报价管理 报价
seller/offerHandingBuy Post
---
handingId:PmPNOklFbltl
price:123123
msg:123123123
---
卖家不锈钢产品管理
iron/myProducts Get
---
currentPage=0
pageCount=1
---
{
"data": {
"currentPage": 0,
"irons": [
{
"cover": "./files/2016/6/25/2LxkWrfwI27e.jpg",
"id": "30",
"image1": "",
"image2": "",
"image3": "",
"ironType": "角钢",
"isSpec": true,
"material": "409L",
"numbers": 123123, // 总库存
"price": 444434,
"proId": "5ZdjsVCAqDic",
"proPlace": "宝新",
"pushTime": 1466836241522,
"reviewed": false,
"sourceCity": "辽宁 朝阳 ",
"sourceCityId": "SzC01FCt",
"surface": "No.1",
"title": "风马",
"userId": "527cec6a380046b5b813537e10d065e9"
}
],
"maxCount": 18,
"pageCount": 1
},
"errorMsg": "",
"status": 0
}
更新卖家不锈钢产品
iron/updateProduct Post
---
ironId:8mqBXAuVnxZ9
price:10087
numbers:10086
---
删除卖家不锈钢服务
/iron/deleteProduct Post
---
ironId
---
卖家加工服务管理
handing/myProducts Get
---
currentPage=0
pageCount=1
---
{
"data": {
"currentPage": 0,
"handings": [
{
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"id": "A2amYGBYWgVu",
"image1": "",
"image2": "",
"image3": "",
"price": 123,
"pushTime": 0,
"souCityId": "wYC4sP3V",
"sourceCity": "广东 深圳 ",
"title": "sss",
"type": "整卷油磨",
"unit": "米",
"userId": "527cec6a380046b5b813537e10d065e9"
}
],
"maxCount": 5,
"pageCount": 1
},
"errorMsg": "",
"status": 0
}
更新卖家加工服务
handing/updateProduct Post
---
handingId:A2amYGBYWgVu
price:10087
---
删除卖家加工服务
/handing/deleteProduct Post
---
handingId
---
获取店铺信息
seller/profile Get
---
{
"data": {
"allCer": "./files/2016/6/18/qaLU0ItXjtM1.png",
"businessLic": "",
"cantactTel": "18355551276",
"cityId": "F1HgsYAp",
"codeLic": "",
"companyName": "风马科技有限公司",
"contact": "将三米",
"cover": "./files/2016/6/19/WdDfdnobGk7Y.jpg",
"fax": "12300991",
"financeLic": "",
"handingTypeDesc": "整卷油磨,激光切割",
"id": 11,
"ironTypeDesc": "不锈钢管,角钢",
"officeAddress": "广东 梅州 平远县 你打打发打发斯蒂芬",
"qq": "578323123",
"regMoney": 1000,
"shopProfile": "绝对非凡,值得拥有",
"userId": "527cec6a380046b5b813537e10d065e9"
},
"errorMsg": "",
"status": 0
}
---
更新店铺信息
seller/updateProfile MultiPost
---
public String contact; // 可选
public String cantactTel; // 可选
public String fax; // 可选
public String cityId; // 可选
public String officeAddress; // 可选
public String qq; // 可选
public File cover; // 可选
public String shopProfile; // 可选
---
修改密码
member/changePassword Post
---
public String oldPassword;
public String newPassword;
public String newPasswordConfirm;
---
获取个人信息
member/profile Get
---
---
{
"data": {
"avator": "./files/2016/7/9/GArXjj33e4x4.jpg",
"mobile": "18355551276",
"name": "HAHAHA",
"userId": "527cec6a380046b5b813537e10d065e9"
},
"errorMsg": "",
"status": 0
}
更改个人信息
member/updateProfile MultiPost
---
public String name; // 可选
public File avator; // 可选
---
获取买家积分
member/myIntegral Get
---
---
data=0....
获取卖家积分
seller/myIntegral Get
---
---
data=0....
获取我的站内信
member/myInnerMessage Get
---
currentPage=0
pageCount=2
---
{
"data": {
"currentPage": 0,
"maxCount": 6,
"messages": [
{
"id": "1",
"pushTime": 1468135042000,
"reviewed": true,
"title": "欢迎注册淘不秀"
},
{
"id": "2",
"pushTime": 1468135042000,
"reviewed": false,
"title": "恭喜您成为卖家"
}
],
"pageCount": 2
},
"errorMsg": "",
"status": 0
}
获取站内信详情
member/myInnerMessageDetail Get
---
messageId=1
---
{
"data": {
"id": "1",
"message": "淘不秀是很厉害的哈哈哈哈哈哈哈哈哈\n淘不秀是很厉害的哈哈哈哈哈哈哈哈哈淘不秀是很厉害的哈哈哈哈哈哈哈哈哈淘不秀是很厉害的",
"pushTime": 1468135042000,
"reviewed": true,
"title": "欢迎注册淘不秀"
},
"errorMsg": "",
"status": 0
}
删除站内信
member/deleteInnerMessage Post
---
messageId
---
买家不锈钢求购列表