|
|
@ -338,6 +338,14 @@ namespace Myshipping.Core
|
|
|
|
user.Password = DESCEncryption.Encrypt("123456", keyDES);
|
|
|
|
user.Password = DESCEncryption.Encrypt("123456", keyDES);
|
|
|
|
|
|
|
|
|
|
|
|
await repoUser.UpdateAsync(user);
|
|
|
|
await repoUser.UpdateAsync(user);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//客户端用户信息同步给运营端往来单位
|
|
|
|
|
|
|
|
if (App.Configuration["RunType"] is CommonConst.RUN_TYPE_CUST)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var evtPub = App.GetService<IEventPublisher>();
|
|
|
|
|
|
|
|
await evtPub.PublishAsync(new ChannelEventSource($"DjySync:TenantUserToCustomer", tenant.Id));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|