zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
namespace Link.Common
{
    /// <summary>
    /// 常量
    /// </summary>
    public sealed class Constants
    {
        /// <summary>
        /// 日期格式
        /// </summary>
        public const string DATE_TIME_FORMAT = "yyyy/MM/dd HH:mm:ss";
 
        /// <summary>
        /// 匹配XML文件
        /// </summary>
        public const string XML_SEARCH_PATTERN = "*.xml";
 
        /// <summary>
        /// 实现服务的类库名称
        /// </summary>
        public const string SERVICE_LIBRARY_NAME = "Link.Service";
 
 
        /// <summary>
        /// 接口服务的类库名称
        /// </summary>
        public const string ISERVICE_LIBRARY_NAME = "Link.IService";
 
        /// <summary>
        /// 接口的类库名称
        /// </summary>
        public const string API_LIBRARY_NAME = "Link.Api";
 
        /// <summary>
        /// 接口的类库名称
        /// </summary>
        public const string API_LIBRARY_NAMESPACE = "Link.Api.Controllers";
 
 
        /// <summary>
        /// XML文件后缀名
        /// </summary>
        public const string XML_FILE_TYPE = ".xml";
 
 
        /// <summary>
        /// Swagger名称
        /// </summary>
        public const string SWAGGER_NAME = "v1";
 
        /// <summary>
        /// Swagger版本
        /// </summary>
        public const string SWAGGER_VERSION = "1.0";
 
        /// <summary>
        /// Swagger标题
        /// </summary>
        public const string SWAGGER_TITLE = "多卖短链接口文档";
 
        /// <summary>
        /// Swagger地址
        /// </summary>
        public const string SWAGGER_JSON_URL = "/swagger/v1/swagger.json";
 
        /// <summary>
        /// HTTP-POST
        /// </summary>
        public const string HTTP_METHOD_POST = "POST";
 
        /// <summary>
        /// HTTP-GET
        /// </summary>
        public const string HTTP_METHOD_GET = "GET";
 
        /// <summary>
        /// EasyCache内存缓存默认名称
        /// </summary>
        public const string EASY_CACHE_MEMORY_DEFAULT_NAME = "default";
 
    }
}