123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package pay
- import "fmt"
- const (
-
- CLOUD_USER_DB_NAME string = "usercenter"
- PACK_PAY_NAME string = "pay"
-
- PayPointListApi = "pay.point.list"
- PayPointDetailApi = "pay.point.detail"
- PayPointAmountApi = "pay.point.amount"
- PayOrderCreateApi = "pay.order.create"
- PayOrderDetailApi = "pay.order.detail"
- PayOrderUpdateApi = "pay.order.update"
-
- PayRefundCreateApi = "pay.refund.create"
- PayRefundDetailApi = "pay.refund.detail"
- PayRefundUpdateApi = "pay.refund.update"
-
- PaySingleQrApi = "pay.single.crateQr"
-
- PayModAliPay = 0
- PayModWechtPay = 1
-
- PayProjectQueenShow = "queenshow"
- PayProjectQueenShowTrade = "QS"
-
- PaySingleRefundApi = "pay.single.refund"
- PaySingleRefundQueryApi = "pay.single.refundQuery"
- PaySingleCloseOrderApi = "pay.single.closeOrder"
- PayMultiQrApi = "pay.multi.crateQr"
- PayMultiRefundApi = "pay.multi.refund"
-
- REFUND_PROCESSING = iota
- REFUND_SUCCESS
- REFUND_CLOSED
- REFUND_ABNORMAL
- )
- func NewAppPaySuccSubject(app string) string {
- return fmt.Sprintf("%s-pay-succ#%s.paysucc#%s-paysucc-queue", app, app, app)
- }
- func NewAppPayFailSubject(app string) string {
- return fmt.Sprintf("%s-pay-fail#%s.payfail#%s-payfail-queue", app, app, app)
- }
- var (
-
-
- WaitPay int32 = 0
-
- WaitDeliver int32 = 1
-
- Transacted int32 = 2
-
- Canceled int32 = 3
- )
|