admin
2025-02-20 fa677dec1c55db004a31beefb1e346e18c7858c2
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
package com.taoke.autopay.exception;
 
/**
 * @author hxh
 * @title: LoginException
 * @description: 口令验证
 * @date 2024/6/14 18:46
 */
public class KeyVerifyException extends  Exception{
    public final static int CODE_COMMON = 1;
    public final static int CODE_ORDER_MONEY_NOT_MATCH = 10;
    public final static int CODE_KEY_MONEY_NOT_MATCH = 11;
    public final static int CODE_ORDER_STATUS_ERROR = 12;
    public final static int CODE_ORDER_TYPE_ERROR = 13;
    // 订单号重复提交
    public final static int CODE_ORDER_NO_REPEAT = 14;
 
 
    private int code;
 
 
    public int getCode() {
        return code;
    }
 
    public KeyVerifyException(int code, String msg){
        super(msg);
        this.code = code;
    }
 
}