This commit is contained in:
2024-10-12 20:41:55 +08:00
parent 8c09120db6
commit 597e4f1b89
75 changed files with 5009 additions and 823 deletions

13
pkg/models/mqs.go Normal file
View File

@@ -0,0 +1,13 @@
package models
import "time"
type ApiRequestMessage struct {
TransactionID string `json:"transactionID"`
UserId int64 `json:"userId"`
ProductCode string `json:"productCode"`
Status string `json:"status"` // 1. success 2. error
Charges bool `json:"charges"` // 是否扣费
Remark string `json:"remark"`
Timestamp time.Time `json:"timestamp"` // 添加时间戳
}