From 23153a86727a10b34809b6e8f3cb01cd417c33d8 Mon Sep 17 00:00:00 2001 From: dzq Date: Thu, 6 Nov 2025 16:11:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BE=AE=E4=BF=A1):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=94=A8=E6=88=B7=E7=BB=91=E5=AE=9A=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E7=B1=BB=E5=B9=B6=E7=A7=BB=E9=99=A4=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E9=94=AE=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除动态码接口中不必要的缓存键返回字段,并新增微信用户绑定命令类用于接收绑定请求参数 --- .../com/agileboot/api/controller/WxController.java | 1 - .../ab98/user/command/BindWxMpUserCommand.java | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 agileboot-domain/src/main/java/com/agileboot/domain/ab98/user/command/BindWxMpUserCommand.java diff --git a/agileboot-api/src/main/java/com/agileboot/api/controller/WxController.java b/agileboot-api/src/main/java/com/agileboot/api/controller/WxController.java index 316b156..252a68f 100644 --- a/agileboot-api/src/main/java/com/agileboot/api/controller/WxController.java +++ b/agileboot-api/src/main/java/com/agileboot/api/controller/WxController.java @@ -112,7 +112,6 @@ public class WxController { Map result = new HashMap<>(); result.put("dynamicCode", dynamicCode); result.put("validityMinutes", String.valueOf(DynamicCodeGenerator.getCodeValidityMinutes())); - result.put("cacheKey", cacheKey); return ResponseDTO.ok(result); } catch (Exception e) { diff --git a/agileboot-domain/src/main/java/com/agileboot/domain/ab98/user/command/BindWxMpUserCommand.java b/agileboot-domain/src/main/java/com/agileboot/domain/ab98/user/command/BindWxMpUserCommand.java new file mode 100644 index 0000000..b92f33f --- /dev/null +++ b/agileboot-domain/src/main/java/com/agileboot/domain/ab98/user/command/BindWxMpUserCommand.java @@ -0,0 +1,12 @@ +package com.agileboot.domain.ab98.user.command; + +import lombok.Data; + +@Data +public class BindWxMpUserCommand { + private String dynamicCode; + + private String name; + + private String idNum; +}