feat(微信): 添加微信用户绑定命令类并移除缓存键返回

移除动态码接口中不必要的缓存键返回字段,并新增微信用户绑定命令类用于接收绑定请求参数
This commit is contained in:
dzq 2025-11-06 16:11:53 +08:00
parent 09fce0754d
commit 23153a8672
2 changed files with 12 additions and 1 deletions

View File

@ -112,7 +112,6 @@ public class WxController {
Map<String, String> 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) {

View File

@ -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;
}