diff --git a/Myshipping.Core/EventSubscriber/CompanyUserSyncSubscriber.cs b/Myshipping.Core/EventSubscriber/CompanyUserSyncSubscriber.cs index 7b3cb851..9c091bf0 100644 --- a/Myshipping.Core/EventSubscriber/CompanyUserSyncSubscriber.cs +++ b/Myshipping.Core/EventSubscriber/CompanyUserSyncSubscriber.cs @@ -338,6 +338,14 @@ namespace Myshipping.Core user.Password = DESCEncryption.Encrypt("123456", keyDES); await repoUser.UpdateAsync(user); + + + //客户端用户信息同步给运营端往来单位 + if (App.Configuration["RunType"] is CommonConst.RUN_TYPE_CUST) + { + var evtPub = App.GetService(); + await evtPub.PublishAsync(new ChannelEventSource($"DjySync:TenantUserToCustomer", tenant.Id)); + } } } }