mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:13:26 +08:00
升级自定义交易组件常用商品接口,spu接口,品牌接口,订单接口,物流接口。
This commit is contained in:
@@ -22,8 +22,12 @@ namespace CoreCms.Net.Core.Config
|
||||
|
||||
services.AddInitQ(m =>
|
||||
{
|
||||
//时间间隔
|
||||
//没消息时挂起时长(毫秒)
|
||||
m.SuspendTime = 1000;
|
||||
|
||||
//每次消费消息间隔时间(毫秒)
|
||||
m.IntervalTime = 1000;
|
||||
|
||||
//redis服务器地址
|
||||
m.ConnectionString = AppSettingsConstVars.RedisConfigConnectionString;
|
||||
//对应的订阅者类,需要new一个实例对象,当然你也可以传参,比如日志对象
|
||||
@@ -33,11 +37,10 @@ namespace CoreCms.Net.Core.Config
|
||||
typeof(OrderAutomaticDeliverySubscribe),
|
||||
typeof(OrderFinishCommandSubscribe),
|
||||
typeof(OrderPrintSubscribe),
|
||||
|
||||
typeof(TCOrderAfterSaleCreateSyncSubscribe),
|
||||
typeof(TCOrderDeliveryRecieveSyncSubscribe),
|
||||
typeof(TCOrderShipSyncSubscribe),
|
||||
typeof(TCPayOrderSyncSubscribe),
|
||||
//typeof(TCPayOrderSyncSubscribe),
|
||||
typeof(UserSubscribe),
|
||||
typeof(WeChatPayNoticeSubscribe),
|
||||
typeof(SendWxTemplateMessageSubscribe),
|
||||
|
||||
Reference in New Issue
Block a user