feat(user): 更新用户表字段及认证接口
- 将用户表中的 `han_note_id` 注释更新为 "小憨书号" - 将用户表中的 `phone` 字段改为 `email` 并更新注释 - 更新分布式ID生成器中相关SQL表名引用从 `leaf_alloc` 到 `leaf` - 在HTTP客户端配置文件中新增认证API请求示例 - 修改Feign接口方法名以匹配邮箱查询逻辑 - 调整RPC服务调用方法名保持一致性
This commit is contained in:
@@ -44,7 +44,7 @@ public class UserRpcService {
|
||||
FindUserByEmailReqDTO findUserByEmailReqDTO = new FindUserByEmailReqDTO();
|
||||
findUserByEmailReqDTO.setEmail(email);
|
||||
|
||||
Response<FindUserByEmailRspDTO> response = userFeignApi.findByPhone(findUserByEmailReqDTO);
|
||||
Response<FindUserByEmailRspDTO> response = userFeignApi.findByEmail(findUserByEmailReqDTO);
|
||||
|
||||
if (!response.isSuccess()) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user