重写手动针对用户以及组织的单条同步逻辑
登录获取 token 时新增客户端编号标识 支持根据客户端编号以及用户id批量失效 token 方法
This commit is contained in:
@@ -257,7 +257,7 @@ public class AdminAuthServiceImplTest extends BaseDbUnitTest {
|
||||
// 准备参数
|
||||
String mobile = randomString();
|
||||
String code = randomString();
|
||||
AuthSmsLoginReqVO reqVO = new AuthSmsLoginReqVO(mobile, code);
|
||||
AuthSmsLoginReqVO reqVO = new AuthSmsLoginReqVO(mobile, code,null);
|
||||
// mock 方法(验证码)
|
||||
when(smsCodeApi.useSmsCode(argThat(smsCodeUseReqDTO -> {
|
||||
assertEquals(mobile, smsCodeUseReqDTO.getMobile());
|
||||
|
||||
Reference in New Issue
Block a user