|
|
|
@@ -299,11 +299,14 @@ public class WxOrderController extends BaseController { |
|
|
|
@ApiOperation("砍价订单-详情接口") |
|
|
|
@GetMapping("pressOrderDetail") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "orderId", value = "订单id", dataType = "Long", paramType = "query", required = true) |
|
|
|
@ApiImplicitParam(name = "orderId", value = "订单id", dataType = "String", paramType = "query", required = true) |
|
|
|
}) |
|
|
|
public ResultData pressOrderDetail(Long orderId) { |
|
|
|
public ResultData pressOrderDetail(String orderId) { |
|
|
|
// c端用户应该只能看到自己的订单细节 |
|
|
|
WxOrder wxOrder = new WxOrder(); |
|
|
|
if(StringUtils.isBlank(orderId)) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "订单ID不能为空"); |
|
|
|
} |
|
|
|
Long id = 0L; |
|
|
|
try { |
|
|
|
id = Long.valueOf(orderId); |
|
|
|
|