Authored by qianjun

update03

... ... @@ -233,20 +233,17 @@ or
}
```
## 删除帮助内容
## 获取所有帮助分类
> 接口名:`/HelpCategoryRest/addCategory`
> 接口名:`/HelpCategoryRest/getAllHelpCategory`
### 入参
``` json
{
"id":44
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|44|帮助内容记录ID|
---------------------
### 返回
... ... @@ -254,36 +251,184 @@ or
``` json
{
"code": 200,
"message": "删除成功"
}
or
{
"code": 400,
"message": "Id is null"
}
or
{
"code": 500,
"message": "删除失败"
"data": [
{
"categoryName": "订单问题",
"createTime": 1456284113,
"id": 48,
"parentId": 0,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "钱军",
"createTime": 1456282636,
"id": 47,
"parentId": 12,
"platform": "iphone",
"status": 1,
"updateTime": 0
},
{
"categoryName": "订单问题2期项目",
"createTime": 1456281715,
"id": 46,
"parentId": 0,
"platform": "iphone,android",
"status": 1,
"updateTime": 1456283370
},
{
"categoryName": "测试新版重构内容添加",
"createTime": 1448868521,
"id": 45,
"parentId": 16,
"platform": "iphone,android,h5",
"status": 1,
"updateTime": 0
},
{
"categoryName": "第四个二级其他问题修改23",
"createTime": 1437552851,
"id": 29,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 1437555718
},
{
"categoryName": "订单修改",
"createTime": 1437547796,
"id": 25,
"parentId": 12,
"platform": "iphone,android",
"status": 1,
"updateTime": 1445320680
},
{
"categoryName": "第四个一级",
"createTime": 1437547671,
"id": 24,
"parentId": 0,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "优惠券说明",
"createTime": 1437544461,
"id": 23,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "YOHO币",
"createTime": 1437544431,
"id": 22,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "VIP制度说明",
"createTime": 1437544417,
"id": 21,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "其他问题",
"createTime": 1437544406,
"id": 20,
"parentId": 0,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "售后服务",
"createTime": 1437544393,
"id": 19,
"parentId": 16,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "验货签收",
"createTime": 1437544382,
"id": 18,
"parentId": 16,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "常见支付问题",
"createTime": 1437544366,
"id": 17,
"parentId": 16,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "购物问题",
"createTime": 1437544351,
"id": 16,
"parentId": 0,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "包裹问题",
"createTime": 1437544304,
"id": 15,
"parentId": 12,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "物流配送",
"createTime": 1437544293,
"id": 14,
"parentId": 12,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "订单问题",
"createTime": 1437544209,
"id": 12,
"parentId": 0,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
}
],
"message": "All Help Category List"
}
```
## 分页显示帮助内容
## 获取所有二级分类
> 接口名:`/HelpContentRest/getHelpContentList`
> 接口名:`/HelpCategoryRest/getSecondCategoryList`
### 入参
``` json
{
"page":2,
"size":12
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|page|int|2|第几页(可选) 默认为1|
|size|int|12|每页条数(可选)默认为10|
---------------------
### 返回
... ... @@ -291,111 +436,123 @@ or
``` json
{
"code": 200,
"data": {
"list": [
{
"categoryId": 0,
"content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "订单内容的修改",
"updateTime": 0
},
{
"categoryId": 0,
"content": "优惠券是有货线上品牌商城针对不同品牌或商品向消费者发送的虚拟券,优惠券可直接用于指定品牌或商品消费,不可转让他人,不可兑换为现金。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "什么是优惠券?",
"updateTime": 0
},
{
"categoryId": 0,
"content": "Yoho币是有货商城全场针对不同商品向已激活用户返还的虚拟购物币。Yoho!币可直接用于有货线上购物使用,不可转让他人,不可兑换为现金。使用YOHO币支付的金额将不计入消费金额用以计算返还金额。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "Yoho币是什么,有什么用?",
"updateTime": 0
},
{
"categoryId": 0,
"content": "银卡会员需年度累计消费满600元,金卡会员需年度累计消费满2000元,白金会员需年度累计消费满5000元。年度指连续的365天内(数字年),而非2011,2012这样的自然年。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "消费多少可以成为银卡会员、金卡会员、白金会员?",
"updateTime": 0
},
{
"categoryId": 0,
"content": "您可进入“我的订单”,点击”确认收货”后,申请退换货,按页面提示填写相关信息,提交申请。我们会在24小时内以短信或电话的方式告知您审核结果,审核通过后,请您将商品连同发货单一并寄回,请您寄回时不要选择平邮或到付。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "如何办理退换货",
"updateTime": 0
},
{
"categoryId": 0,
"content": "有货与配送公司签订先验货后签收协议,请在配送人员还在场的情况下,当面验收您的商品,货到付款订单可以开箱验货但是未签收情况下不能试穿。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "可以开箱验货吗",
"updateTime": 0
},
{
"categoryId": 0,
"content": "浦发,深发,民生等银行只要客户设了密码,都是不可以进行交易的;工,农,建等全国性银行中,只有工行肯定是不能交易,别的银行是可以的。如在支付中有任何疑问,请联系有货客服为您处理",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "为什么信用卡无法支付",
"updateTime": 0
},
{
"categoryId": 0,
"content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "补开发票",
"updateTime": 0
},
{
"categoryId": 0,
"content": "您可进入“我的订单”中查询订单状态,有货会在订单审核通过后24小时内为您发出包裹。(温馨提示:预售商品发货时间以商品页面标注为准)。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "发货时间",
"updateTime": 0
},
{
"categoryId": 0,
"content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。",
"createTime": 0,
"id": 0,
"platform": "iphone,android",
"title": "取消订单",
"updateTime": 0
}
],
"page": 2,
"size": 12,
"total": 0,
"totalPage": 0
},
"message": "Help Content List"
"data": [
{
"categoryName": "物流配送",
"createTime": 1437544293,
"id": 14,
"parentId": 12,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "包裹问题",
"createTime": 1437544304,
"id": 15,
"parentId": 12,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "常见支付问题",
"createTime": 1437544366,
"id": 17,
"parentId": 16,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "验货签收",
"createTime": 1437544382,
"id": 18,
"parentId": 16,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "售后服务",
"createTime": 1437544393,
"id": 19,
"parentId": 16,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "VIP制度说明",
"createTime": 1437544417,
"id": 21,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "YOHO币",
"createTime": 1437544431,
"id": 22,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "优惠券说明",
"createTime": 1437544461,
"id": 23,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 0
},
{
"categoryName": "订单修改",
"createTime": 1437547796,
"id": 25,
"parentId": 12,
"platform": "iphone,android",
"status": 1,
"updateTime": 1445320680
},
{
"categoryName": "第四个二级其他问题修改23",
"createTime": 1437552851,
"id": 29,
"parentId": 20,
"platform": "iphone,android",
"status": 1,
"updateTime": 1437555718
},
{
"categoryName": "测试新版重构内容添加",
"createTime": 1448868521,
"id": 45,
"parentId": 16,
"platform": "iphone,android,h5",
"status": 1,
"updateTime": 0
},
{
"categoryName": "钱军",
"createTime": 1456282636,
"id": 47,
"parentId": 12,
"platform": "iphone",
"status": 1,
"updateTime": 0
}
],
"message": "Second Help Category List"
}
```
## 获取帮助内容总记录数
> 接口名:`/HelpContentRest/getHelpContentCount`
> 接口名:`/HelpCategoryRest/getHelpContentCount`
### 入参
... ... @@ -413,7 +570,7 @@ or
## 根据分类ID查帮助内容
> 接口名:`/HelpContentRest/getHelpContentByCategoryId`
> 接口名:`/HelpCategoryRest/getHelpContentByCategoryId`
### 入参
``` json
... ...