98 lines
2.8 KiB
C#
98 lines
2.8 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace MyCode.Project.Infrastructure.Constant
|
||
{/// <summary>
|
||
/// 缓存 常量
|
||
/// </summary>
|
||
public class Cache
|
||
{
|
||
/// <summary>
|
||
/// 全部区域列表
|
||
/// </summary>
|
||
public const string ALL_REGION_LIST = "AllRegionList";
|
||
|
||
/// <summary>
|
||
/// 用户登录日志
|
||
/// </summary>
|
||
public const string USER_LOGIN_LOG = "UserLoginLog";
|
||
|
||
/// <summary>
|
||
/// 默认角色
|
||
/// </summary>
|
||
public const string DEFAULT_ROLES = "DefaultRoles";
|
||
|
||
/// <summary>
|
||
/// 微信公众号 Token
|
||
/// </summary>
|
||
public const string WECHAT_PUBLIC_TOKEN = "WechatPublic:Token:{0}";
|
||
|
||
/// <summary>
|
||
/// 微信公众号 Ticket
|
||
/// </summary>
|
||
public const string WECHAT_PUBLIC_TICKET = "WechatPublic:Ticket:{0}";
|
||
|
||
/// <summary>
|
||
/// 预约时间段模板
|
||
/// </summary>
|
||
public const string RESERVATION_TIME_RANGE_TPL = "ReservationTimeRange";
|
||
|
||
/// <summary>
|
||
/// 订单流水号模板 范例:流水号前缀(<see cref="SerialCode"/>)+日期(年月日)+店铺ID
|
||
/// </summary>
|
||
public const string SERIAL_CODE_ORDER_TPL = "SerialCode:{0}:{1}:{2}";
|
||
|
||
#region QRCode(二维码)
|
||
|
||
/// <summary>
|
||
/// 二维码-会员
|
||
/// </summary>
|
||
public const string QR_CODE_MEMBER = "QRCode:Member:{0}";
|
||
|
||
/// <summary>
|
||
/// 二维码-服务预约单
|
||
/// </summary>
|
||
public const string QR_CODE_SERVICE_PRE_ORDER = "QRCode:Service:PreOrder:{0}";
|
||
|
||
#endregion
|
||
|
||
#region SerialCode(流水号)
|
||
|
||
/// <summary>
|
||
/// 流水号-支付单 范例:Code:Serial:Order:Pay:年月日(yyyyMMdd)
|
||
/// </summary>
|
||
public const string SERIAL_CODE_PAY_ORDER = "Code:Serial:Order:Pay:{0}";
|
||
|
||
/// <summary>
|
||
/// 流水号-店员 范例:Code:Serial:Clerk
|
||
/// </summary>
|
||
public const string SERIAL_CODE_CLERK = "Code:Serial:Clerk";
|
||
|
||
#endregion
|
||
|
||
#region Config(配置)
|
||
|
||
/// <summary>
|
||
/// 配置-微信公众号 范例:Config:Wechat:微信配置类型(<see cref="WechatConfigType"/>):商家ID
|
||
/// </summary>
|
||
public const string CONFIG_WECHAT = "Config:Wechat:{0}:{1}";
|
||
|
||
/// <summary>
|
||
/// 配置-微信模板 范例:Config:Wechat:Template:模板类型(<see cref="TemplateType"/>)
|
||
/// </summary>
|
||
public const string CONFIG_WECHAT_TEMPLATE = "Config:Wechat:Template:{0}";
|
||
|
||
/// <summary>
|
||
/// 配置-支付 范例:Config:Payment:店铺ID
|
||
/// </summary>
|
||
public const string CONFIG_PAYMENT = "Config:Payment:{0}";
|
||
|
||
#endregion
|
||
|
||
|
||
}
|
||
}
|