Authored by qianjun

update

# 商品设置退换货接口服务定义
---------------------
## 查询所有ProductSkn和模糊匹配查询ProductSkn
## 1.查询所有ProductSkn和模糊匹配查询ProductSkn
> 接口名:`/refundExchangeAttribute/queryRefundExchangeProductSkn`
... ... @@ -63,7 +63,7 @@ or
}
```
## 查询所有品牌和模糊匹配查询品牌(以前平台化接口)
## 2.查询所有品牌和模糊匹配查询品牌(以前平台化接口)
> 接口名:`/erpproduct/brands/getBrandNames`
... ... @@ -133,7 +133,7 @@ or
```
## 查询或筛选全部列表
## 3.查询或筛选全部列表
> 接口名:`/refundExchangeAttribute/queryRefundExchangeList`
... ... @@ -296,21 +296,22 @@ or
### 注意: sortIsRefundExchange默认值为-1(无效值),如果值为0,说明品类是关闭的,不管设置商品什么退换货状态,都按品类状态来,不可修改状态。
## 修改商品退换货状态
## 4.修改商品退换货状态
> 接口名:`/refundExchangeAttribute/modifyRefundExchangeStatus`
### 入参
``` json
{
"productSkn":50000855
"productSkn": 50000055,
"isRefundExchange":0
}
```
-------------------------
|属性名称|类型|例子|说明|是否必填|长度限制|
|--------|----|----|----|-----|----|
|productSkn|int|500008|产品SKN|是|无|
|isRefundExchange|int|0|是否支持退换货(0、不支持退换货-特殊商品 1、支持退换货-普通商品)|是|无|
---------------------
### 1. 对应SQL的操作库表(数据库 erp_product,表 product_ext_attribute)
... ... @@ -374,7 +375,7 @@ or
}
```
## 批量导入商品退换货状态
## 5.批量导入商品退换货状态
> 接口名: `/batch/import`
... ... @@ -521,7 +522,7 @@ or
```
### 注意: (1)failFileReason和repeatFileReason这两个Json数组,只要有一个Json数组返回不为空,说明此次导入操作失败;(2) failFileReason和repeatFileReason这两个Json数组错误信息都要在前台展示。
## 批量导出商品退换货状态xls
## 6.批量导出商品退换货状态xls
> 接口名:`/batch/export`
... ...