mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
2022-01-11
## 1.2.9 开源社区版: 【修复】修复全局定义微信配置引用的配置文件命名错误问题。 【修复】修复自动生成sku模式价格出现货号重复情况,#I4Q4WU ## 0.0.6 会员先行版: 【新增】新增微信自定义交易组件,实现微信视频号直播带货功能。
This commit is contained in:
@@ -160,5 +160,29 @@ namespace CoreCms.Net.Configuration
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region 微信配置================================================================================
|
||||
|
||||
/// <summary>
|
||||
/// 微信小程序WxOpenAppSecret
|
||||
/// </summary>
|
||||
public static readonly string WxOpenAppId = AppSettingsHelper.GetContent("WeChatOptions", "WxOpenAppId");
|
||||
/// <summary>
|
||||
/// 微信小程序WxOpenAppSecret
|
||||
/// </summary>
|
||||
public static readonly string WxOpenAppSecret = AppSettingsHelper.GetContent("WeChatOptions", "WxOpenAppSecret");
|
||||
|
||||
/// <summary>
|
||||
/// 微信公众号WeiXinAppId
|
||||
/// </summary>
|
||||
public static readonly string WeiXinAppId = AppSettingsHelper.GetContent("WeChatOptions", "WeiXinAppId");
|
||||
/// <summary>
|
||||
/// 微信公众号WeiXinAppSecret
|
||||
/// </summary>
|
||||
public static readonly string WeiXinAppSecret = AppSettingsHelper.GetContent("WeChatOptions", "WeiXinAppSecret");
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -279,6 +279,9 @@
|
||||
public const string CacheCoreCmsServiceDescription = "CacheCoreCmsServiceDescription";
|
||||
public const string CacheCoreCmsAgentGrade = "CacheCoreCmsAgentGrade";
|
||||
|
||||
public const string CacheWeChatTCThirdCatList = "CacheWeChatTCThirdCatList";
|
||||
public const string CacheWeChatTransactionComponentGood = "CacheWeChatTransactionComponentGood";
|
||||
public const string CacheWeChatTransactionComponentDeliveryCompany = "CacheWeChatTransactionComponentDeliveryCompany";
|
||||
|
||||
}
|
||||
|
||||
@@ -382,7 +385,22 @@
|
||||
public const string SmsQueue = "SmsQueue";
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 微信自定义交易组件-同步订单状态
|
||||
/// </summary>
|
||||
public const string TransactionComponentPayOrderSync = "TransactionComponentPayOrderSyncQueue";
|
||||
/// <summary>
|
||||
/// 微信自定义交易组件-订单发货
|
||||
/// </summary>
|
||||
public const string TransactionComponentOrderShipSync = "TransactionComponentOrderShipSyncQueue";
|
||||
/// <summary>
|
||||
/// 微信自定义交易组件-订单确认收货
|
||||
/// </summary>
|
||||
public const string TransactionComponentOrderDeliveryRecieveSync = "TransactionComponentOrderDeliveryRecieveSyncQueue";
|
||||
/// <summary>
|
||||
/// 微信自定义交易组件-同步创建售后单
|
||||
/// </summary>
|
||||
public const string TransactionComponentAfterSaleCreateSync = "TransactionComponentAfterSaleCreateSyncQueue";
|
||||
|
||||
|
||||
//用户相关
|
||||
@@ -394,5 +412,31 @@
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 和uniapp相关的设置
|
||||
/// </summary>
|
||||
public static class UniAppConst
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单地址
|
||||
/// </summary>
|
||||
public static string OrderPath(string orderId)
|
||||
{
|
||||
return "/pages/member/order/orderdetail?orderId=" + orderId;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 订单地址
|
||||
/// </summary>
|
||||
public static string GoodDetail(string goodId)
|
||||
{
|
||||
return "/pages/goods/goodDetails/goodDetails?id=" + goodId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user