From 2384da782288b3659a54e2a62833b7f9dede52fe Mon Sep 17 00:00:00 2001 From: chenxing Date: Sat, 3 Oct 2026 13:36:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(test):=20=E5=9F=BA=E7=BA=BF=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E2=80=94=E2=80=94stub=20=E8=A1=A5=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=20SDK=20=E6=96=B0=E5=A2=9E=E7=9A=84=E9=80=9A=E9=81=93=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E6=96=B9=E6=B3=95=20+=20=E8=87=AA=E5=B8=A6=20spring-b?= =?UTF-8?q?oot-starter-data-redis=EF=BC=880928=20=E5=BF=AB=E7=85=A7=20WeCh?= =?UTF-8?q?atAuthAutoConfiguration=20=E7=AD=BE=E5=90=8D=E5=BC=95=E7=94=A8?= =?UTF-8?q?=20StringRedisTemplate=EF=BC=8C=E6=8E=A5=E5=85=A5=E5=89=8D?= =?UTF-8?q?=E6=8F=90=E4=B8=BA=E5=BA=94=E7=94=A8=E8=87=AA=E5=B8=A6=20data-r?= =?UTF-8?q?edis=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 7 ++++++ .../flowcenter/stub/StubUserClient.java | 22 +++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/pom.xml b/pom.xml index 8c13f95..db4314d 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,13 @@ com.yunhai.platform yh-spring-boot-starter + + + org.springframework.boot + spring-boot-starter-data-redis + org.jasig.cas.client diff --git a/src/test/java/com/yunhai/flowcenter/stub/StubUserClient.java b/src/test/java/com/yunhai/flowcenter/stub/StubUserClient.java index 9c02828..e741002 100644 --- a/src/test/java/com/yunhai/flowcenter/stub/StubUserClient.java +++ b/src/test/java/com/yunhai/flowcenter/stub/StubUserClient.java @@ -1,6 +1,8 @@ package com.yunhai.flowcenter.stub; import com.yunhai.platform.openapi.base.OpenApiUserClient; +import com.yunhai.platform.openapi.base.model.ChannelBindByPhoneRequest; +import com.yunhai.platform.openapi.base.model.ChannelBindRequest; import com.yunhai.platform.openapi.base.model.SysUserGroupDeleteItem; import com.yunhai.platform.openapi.base.model.SysUserGroupStateRequest; import com.yunhai.platform.openapi.base.model.SysUserMoveRequest; @@ -137,4 +139,24 @@ public class StubUserClient implements OpenApiUserClient { public void batchChangeUserStatus(List userIds, boolean disabled) { throw new UnsupportedOperationException(); } + + @Override + public BoaUser getChannelBoundUser(String channel, String openId) { + throw new UnsupportedOperationException(); + } + + @Override + public BoaUser bindChannel(ChannelBindRequest request) { + throw new UnsupportedOperationException(); + } + + @Override + public BoaUser bindChannelByPhone(ChannelBindByPhoneRequest request) { + throw new UnsupportedOperationException(); + } + + @Override + public void unbindChannel(String channel, String openId) { + throw new UnsupportedOperationException(); + } }