2025-11-16 19:16:44 +08:00

91 lines
3.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace CrasyStudio.Core.Common
{
/// <summary>
/// 站点通用配置类
/// </summary>
public static class SiteConfig
{
/// <summary>
/// 阿里云OSS图片站点,尾部有带"/"
/// </summary>
public static string OSSImgUrl = "https://" + "";//ConfigExtensions.Configuration["AliOSS:BacketName"] + "." + ConfigExtensions.Configuration["AliOSS:WanEndPoint"] + "/";
#region
/// <summary>
/// 商铺首页链接,尾部有带"/"
/// </summary>
public static string ShopHomeUrl = "";//ConfigExtensions.Configuration["BillShareUrl"] + "/";
/// <summary>
/// 商铺默认头像URL
/// </summary>
public static string ShopDefaultHeadUrl = "/Common/defaultHead.png";
/// <summary>
/// 微信分享背景图
/// </summary>
public static string wechategH5Image = "Common/wechatreg.png";
#endregion
#region
/// <summary>
/// 工厂上传图片相对路径
/// </summary>
public static string FactoryImgSavePath = "Upload/Factory/";
#endregion
#region
/// <summary>
/// 订单来源4=件造订单,5=速坊订单
/// </summary>
public static sbyte[] PlatformOrderType = new sbyte[]{ 4, 5 };
#endregion
#region
/// <summary>
/// 审核中图片
/// </summary>
public static string ViolationImgUrl = "/Common/auditing.png";
/// <summary>
/// 商品违规图片
/// </summary>
public static string ReviewedImgUrl = "/Common/violation.png";
#endregion
#region KEY
/// <summary>
/// 模型数据同步KEY
/// </summary>
public const string MODEL_SYNCHRO_KEY = "yunzao@model_oir4kcw3";
#endregion
#region
/// <summary>
/// 工厂产品下架 {0}=产品组名称
/// </summary>
public static string PutProductGroup_NoticeMessage = "速纺平台已经将【{0}】从平台上下架,对应产品或商品也将同步下架,请您及时处理。";
/// <summary>
/// 产品组价格调整 {0}=产品组名称
/// </summary>
public static string EditProductGroupPrice_NoticeMessage = "{0}产品组,价格已经调,请您及时做相应处理";
#endregion
/// <summary>
/// 线上WebAPI URL
/// </summary>
public const string ONLINE_API_URL = "https://api.yunzaokeji.com";
/// <summary>
/// 测试WebAPI URL
/// </summary>
public const string TEST_API_URL = "https://testapi.yunzaokeji.com";
/// <summary>
/// 开发WebAPI URL
/// </summary>
public const string DEV_API_URL = "https://devapi.yunzaokeji.com";
/// <summary>
/// Api平台商设置(1000元)余额不足提醒
/// </summary>
public static decimal ApiMoneyNotice = 1000;// Convert.ToDecimal(ConfigExtensions.Configuration["Sufang:ApiMoneyNotice"]);
}
}