Explorar el Código

[砍价][修改]:详情接口

release_toaliyun_real
Stormeye Wu hace 7 años
padre
commit
36dc704f8b
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      mallinkCApi/src/main/java/com/iformall/controller/WxOrderController.java

+ 5
- 2
mallinkCApi/src/main/java/com/iformall/controller/WxOrderController.java Ver fichero

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


Cargando…
Cancelar
Guardar