Compare commits

...

6 Commits

3 changed files with 17 additions and 1 deletions

2
go.mod
View File

@@ -1,3 +1,3 @@
module gitee.com/shenzhen-jinhuatai-network/common_structure
module git.ssgfgtfy.com/public/common_structure
go 1.18.0

View File

@@ -14,6 +14,7 @@ const (
OrderCloseTypeUser OrderCloseType = 50 // 用户主动关闭
OrderCloseTypeMerchantCancel OrderCloseType = 60 //商家取消订单关闭
OrderCloseTypeDeliveryTimeout OrderCloseType = 70 //发货超时关闭
OrderCloseTypePaymentFailed OrderCloseType = 80 //创建支付失败
)

15
rabbitmq_pay.go Normal file
View File

@@ -0,0 +1,15 @@
package common_structure
type PayNotify struct {
PayID uint `json:"pay_id"` // 支付ID
PayNo string `json:"pay_no"` // 支付单号
RemainExecNum int `json:"num"` // 剩余执行次数
RemainRepeatNum int `json:"repeat_num"` // 剩余重复执行次数
}
type HelibaoSettlementQuery struct {
ID uint `json:"id"` // 提现ID
WithdrawNo string `json:"withdraw_no"` // 提现单号
RemainExecNum int `json:"num"` // 剩余执行次数
RemainRepeatNum int `json:"repeat_num"` // 剩余重复执行次数
}