升级自定义交易组件常用商品接口,spu接口,品牌接口,订单接口,物流接口。

This commit is contained in:
大灰灰
2022-06-30 22:42:19 +08:00
parent 43a691d1be
commit dc408b8596
27 changed files with 1070 additions and 667 deletions

View File

@@ -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),