mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
小程序专用接口入参限制修改为5位数字开头
This commit is contained in:
+3
-3
@@ -163,21 +163,21 @@ public class PlateController {
|
||||
return success(plateService.getBodyViewPartCadInfo(orderCadViewPlatePageReqVO));
|
||||
}
|
||||
|
||||
@GetMapping("/wechat/miniprogram/cadview/info/{plateNo:[A-Fa-f0-9]{6}[A-Za-z0-9]{11}}")
|
||||
@GetMapping("/wechat/miniprogram/cadview/info/{plateNo:\\d{5}[A-Za-z0-9]{11}}")
|
||||
@Operation(summary = "微信小程序根据板编号获取单板视图信息")
|
||||
@Parameter(name = "plateNo", description = "板编号", required = true)
|
||||
public CommonResult<OrderPlateWechatMiniProgramCadInfoRespVO> getPlateInfoByPlateNo(@PathVariable String plateNo) {
|
||||
return success(plateService.getPlateInfoByPlateNo(plateNo));
|
||||
}
|
||||
|
||||
@GetMapping("/wechat/miniprogram/cadview/order/info/{plateNo:[A-Fa-f0-9]{6}[A-Za-z0-9]{11}}")
|
||||
@GetMapping("/wechat/miniprogram/cadview/order/info/{plateNo:\\d{5}[A-Za-z0-9]{11}}")
|
||||
@Operation(summary = "微信小程序根据板编号获取单板所属订单信息")
|
||||
@Parameter(name = "plateNo", description = "板编号", required = true)
|
||||
public CommonResult<OrderWechatMiniProgramCadInfoRespVO> getOrderInfoByPlateNo(@PathVariable String plateNo) {
|
||||
return success(plateService.getOrderInfoByPlateNo(plateNo));
|
||||
}
|
||||
|
||||
@PostMapping("/wechat/miniprogram/cadview/order/details/{plateNo:[A-Fa-f0-9]{6}[A-Za-z0-9]{11}}")
|
||||
@PostMapping("/wechat/miniprogram/cadview/order/details/{plateNo:\\d{5}[A-Za-z0-9]{11}}")
|
||||
@Operation(summary = "微信小程序根据板编号获取订单详情")
|
||||
@Parameter(name = "plateNo", description = "板编号", required = true)
|
||||
public CommonResult<OrdersViewCadViewInfoRespVO> getOrderDetailsByPlateNo(@PathVariable String plateNo, @Valid @RequestBody OrderWechatMiniProgramDetailReqVO reqVO) {
|
||||
|
||||
Reference in New Issue
Block a user