支付成功通知

This commit is contained in:
Hiven
2023-07-26 19:23:16 +08:00
parent e05fcd8248
commit dbf500813c
17 changed files with 482 additions and 30 deletions

View File

@@ -6,3 +6,17 @@ const (
PAYMETHOD_STRIPE PayMethod = 1
PAYMETHOD_PAYPAL PayMethod = 2
)
type PayStatus int64
const (
PAYSTATUS_SUCCESS PayStatus = 1
PAYSTATUS_UNSUCCESS PayStatus = 0
)
type PayStage int64
const (
PAYSTAGE_DEPOSIT PayStage = 1 // 首付
PAYSTAGE_REMAINING PayStage = 2 // 尾款
)