namespace Link.Common
{
///
/// 常量
///
public sealed class Constants
{
///
/// 日期格式
///
public const string DATE_TIME_FORMAT = "yyyy/MM/dd HH:mm:ss";
///
/// 匹配XML文件
///
public const string XML_SEARCH_PATTERN = "*.xml";
///
/// 实现服务的类库名称
///
public const string SERVICE_LIBRARY_NAME = "Link.Service";
///
/// 接口服务的类库名称
///
public const string ISERVICE_LIBRARY_NAME = "Link.IService";
///
/// 接口的类库名称
///
public const string API_LIBRARY_NAME = "Link.Api";
///
/// 接口的类库名称
///
public const string API_LIBRARY_NAMESPACE = "Link.Api.Controllers";
///
/// XML文件后缀名
///
public const string XML_FILE_TYPE = ".xml";
///
/// Swagger名称
///
public const string SWAGGER_NAME = "v1";
///
/// Swagger版本
///
public const string SWAGGER_VERSION = "1.0";
///
/// Swagger标题
///
public const string SWAGGER_TITLE = "多卖短链接口文档";
///
/// Swagger地址
///
public const string SWAGGER_JSON_URL = "/swagger/v1/swagger.json";
///
/// HTTP-POST
///
public const string HTTP_METHOD_POST = "POST";
///
/// HTTP-GET
///
public const string HTTP_METHOD_GET = "GET";
///
/// EasyCache内存缓存默认名称
///
public const string EASY_CACHE_MEMORY_DEFAULT_NAME = "default";
}
}