2024-06-17 14:18:39 +08:00
|
|
|
package common
|
|
|
|
|
|
|
|
const (
|
|
|
|
TOKEN_PRE = "player_token_"
|
|
|
|
TOKEN_Admin = "Admin_token_"
|
|
|
|
ADMIN_V1 = "/admin/api/v1"
|
2024-06-17 16:29:39 +08:00
|
|
|
|
2024-06-19 18:32:34 +08:00
|
|
|
FRONT_API_V1 = "/api/v1"
|
|
|
|
FRONT_API_V1_Auth = "/api/v1/auth"
|
|
|
|
|
|
|
|
STATUSABLED = 1
|
|
|
|
|
|
|
|
// 订单状态 1-待支付 2-已支付 3 充值完成 4充值异常 5卷链核销 6 退款中 7 退款完成 8 退款失败
|
|
|
|
ORDER_STATUS_DEFAULT = 1
|
|
|
|
ORDER_STATUS_PAY = 2
|
|
|
|
ORDER_STATUS_FINISH = 3
|
|
|
|
ORDER_STATUS_FAIL = 4
|
|
|
|
ORDER_STATUS_OFFSET = 5
|
|
|
|
ORDER_STATUS_ReFUNDING = 6
|
|
|
|
ORDER_STATUS_ReFUNDEND = 7
|
|
|
|
ORDER_STATUS_ReFUNDFAIL = 8
|
2024-09-09 10:20:54 +08:00
|
|
|
ORDER_STATUS_TIMEOUT = 9
|
2024-06-17 14:18:39 +08:00
|
|
|
)
|