重写手动针对用户以及组织的单条同步逻辑

登录获取 token 时新增客户端编号标识
支持根据客户端编号以及用户id批量失效 token 方法
This commit is contained in:
chenbowen
2026-01-29 18:28:00 +08:00
committed by chenbowen
parent b94fcd17ac
commit 34bfe041e8

View File

@@ -257,7 +257,7 @@ public class AdminAuthServiceImplTest extends BaseDbUnitTest {
// 准备参数 // 准备参数
String mobile = randomString(); String mobile = randomString();
String code = randomString(); String code = randomString();
AuthSmsLoginReqVO reqVO = new AuthSmsLoginReqVO(mobile, code); AuthSmsLoginReqVO reqVO = new AuthSmsLoginReqVO(mobile, code,null);
// mock 方法(验证码) // mock 方法(验证码)
when(smsCodeApi.useSmsCode(argThat(smsCodeUseReqDTO -> { when(smsCodeApi.useSmsCode(argThat(smsCodeUseReqDTO -> {
assertEquals(mobile, smsCodeUseReqDTO.getMobile()); assertEquals(mobile, smsCodeUseReqDTO.getMobile());