Commit 52af1457 authored by 黎博's avatar 黎博

修改/api/afterSaleNew/getGoodsAttributes接口

parent 6a519be8
...@@ -256,10 +256,9 @@ public class OrderController { ...@@ -256,10 +256,9 @@ public class OrderController {
* 9.1 查询商品售后属性 * 9.1 查询商品售后属性
*/ */
@PostMapping("/api/afterSaleNew/getGoodsAttributes") @PostMapping("/api/afterSaleNew/getGoodsAttributes")
public AfsGoodsAttributesResponse getAfterSaleNewGoodsAttributes(String token, AfsGoodsAttributesRequest.AfterOrderInfo param) { public AfsGoodsAttributesResponse getAfterSaleNewGoodsAttributes(String token, String param) {
// AfsGoodsAttributesRequest.AfterOrderInfo afterOrderInfo = request.getParam(); AfsGoodsAttributesRequest.AfterOrderInfo afterOrderInfo = JSON.parseObject(param, AfsGoodsAttributesRequest.AfterOrderInfo.class);
// List<Long> wareIdList = afterOrderInfo.getWareIds(); List<Long> wareIdList = afterOrderInfo.getWareIds();
List<Long> wareIdList = param.getWareIds();
AfsGoodsAttributesResponse response = new AfsGoodsAttributesResponse(); AfsGoodsAttributesResponse response = new AfsGoodsAttributesResponse();
response.setSuccess(true); response.setSuccess(true);
......
package cn.qg.holmes.entity.mock.keystone.jdbuy; package cn.qg.holmes.entity.mock.keystone.jdbuy;
import com.alibaba.fastjson.JSONObject;
import lombok.Data; import lombok.Data;
import java.util.List; import java.util.List;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment