|
@@ -12,6 +12,7 @@ import com.ywt.gapi.taihe.register.TaiheRegisterServiceGrpc;
|
|
|
import com.ywt.gapi.third.taihe.TaiheServiceGrpc;
|
|
|
import com.ywt.gapi.user.DoctorServiceGrpc;
|
|
|
import com.ywt.gapi.user.UserServiceGrpc;
|
|
|
+import com.ywt.gapi.wx_ins_pay.WxInsPayServiceGrpc;
|
|
|
import io.grpc.Channel;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -88,4 +89,10 @@ public class ServiceGrpcStubBeans {
|
|
|
public DrugServiceGrpc.DrugServiceBlockingStub getDrugServiceBlockingStub() {
|
|
|
return DrugServiceGrpc.newBlockingStub(agentChannel);
|
|
|
}
|
|
|
+
|
|
|
+ @Bean(name = "wxInsPayServiceBlockingStub")
|
|
|
+ public WxInsPayServiceGrpc.WxInsPayServiceBlockingStub getWxInsPayServiceBlockingStub() {
|
|
|
+ return WxInsPayServiceGrpc.newBlockingStub(agentChannel);
|
|
|
+ }
|
|
|
+
|
|
|
}
|