From d501c452622d3c8eec6ef68c99bfc8153593a4ad Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Tue, 2 Jun 2026 10:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E4=B8=93=E7=94=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=85=A5=E5=8F=82=E9=99=90=E5=88=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA5=E4=BD=8D=E6=95=B0=E5=AD=97=E5=BC=80?= =?UTF-8?q?=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../executor/controller/admin/plate/PlateController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java index 522eaf038..9c8e6870a 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java @@ -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 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 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 getOrderDetailsByPlateNo(@PathVariable String plateNo, @Valid @RequestBody OrderWechatMiniProgramDetailReqVO reqVO) {