AdaKing88
2023-08-23 ae35159387a55199e8ab150ebb97d89d68a235bd
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
83
84
85
86
87
88
89
90
91
92
93
94
95
package org.jeecg.modules.arj.config;
 
/**
 * @author zk
 * @Description: 常量
 */
public class Constant {
 
    /**
     * 订单的状态
     * 未支付
     */
    public final static int ORDER_NOT_PAY = 0;
    /**
     * 支付部分
     */
    public final static int ORDER_PAY_SOME = 1;
    /**
     * 支付完成
     */
    public final static int ORDER_PAY_ALL = 2;
 
 
    /**
     * 发货的状态
     * 未发货
     */
    public final static int NOT_SHIP = 0;
    /**
     * 发货部分
     */
    public final static int SHIP_SOME = 1;
    /**
     * 发货完成
     */
    public final static int SHIP_ALL = 2;
 
 
    /**
     * 用户标志
     * 普通用户
     */
    public final static int USER_NORMAL = 0;
    /**
     * 管理员
     */
    public final static int USER_SUPER = 1;
 
 
    /**
     * cookie的名字
     */
    public final static String COOKIE_NAME = "xisuo";
    /**
     * cookie的时间  15天
     */
    public final static int COOKIE_TIME = 60 * 60 * 24 * 15;
 
    /**
     * user 对象的缓存key前缀
     */
    public final static String USER_CACHE_PREFIX = "user:";
 
 
    /**
     * 默认密码
     */
    public final static String DEFAULT_PASSWORD = "123456";
 
    /**
     * 默认显示第一页
     */
    public final static int PAGE = 1;
    /**
     * 默认一页显示10个
     */
    public final static int PAGE_SIZE = 15;
 
    /**
     * 用户上传的所有图片的存放总文件夹,用户图像文件夹
     */
    public final static String USER_IMG_DIR = "/static/user/";
    /**
     * 产品的图片文件夹
     */
    public final static String PRODUCT_IMG_DIR = "/static/product/";
 
 
    /**
     * 默认显示的钱数
     */
    public final static String DEFAULT_MONEY = "0.0";
 
 
}