|
|
package com.yohoufo.order.controller;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.yohobuy.ufo.model.order.bo.DepositDetailBo;
|
|
|
import com.yohobuy.ufo.model.order.bo.DepositProductBo;
|
|
|
import com.yohoufo.common.ApiResponse;
|
...
|
...
|
@@ -67,7 +68,11 @@ public class DepositController { |
|
|
}
|
|
|
|
|
|
List<DepositDetailBo> depositDetailBoList = depositService.queryUserProductDopositingDetail(uid, productId, page, limit);
|
|
|
LOG.info("queryUserDopositing result: {}", depositDetailBoList);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(depositDetailBoList).build();
|
|
|
DepositProductBo countBo = depositService.queryUserDepositProductCountInfo(uid, productId);
|
|
|
JSONObject result = new JSONObject();
|
|
|
result.put("product", countBo);
|
|
|
result.put("items", depositDetailBoList);
|
|
|
LOG.info("queryUserDopositing result: {}", result);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).build();
|
|
|
}
|
|
|
} |
...
|
...
|
|