|
|
|
|
|
|
|
|
# 设置有货币
|
|
|
|
|
|
> 接口名: `/yohoCoin/set`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|productSkn | int| 50000056| 产品skn|是|
|
|
|
|returnCoin | int| 10| 有货币数量|是|
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"添加成功!"
|
|
|
}
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
# 批量导入
|
|
|
|
|
|
> 接口名: `/batch/import`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|file | file| --| 导入的Excel文件|是|
|
|
|
|type | String| yohoCoin| 具体的业务场景代号|是|
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
data:"[]"
|
|
|
"message":"添加成功!"
|
|
|
}
|
|
|
|
|
|
``` |
...
|
...
|
|