添加微信支付支持,重构资源创建逻辑,更新支付宝相关配置,移除账单状态字段

This commit is contained in:
2025-04-17 18:29:44 +08:00
parent 2146887f95
commit f6a97545c5
20 changed files with 607 additions and 495 deletions

View File

@@ -25,7 +25,6 @@ type Bill struct {
Type int32 `gorm:"column:type;not null" json:"type"`
BillNo string `gorm:"column:bill_no;not null" json:"bill_no"`
RefundID int32 `gorm:"column:refund_id" json:"refund_id"`
Status int32 `gorm:"column:status;not null" json:"status"`
Amount float64 `gorm:"column:amount;not null" json:"amount"`
Trade *Trade `gorm:"foreignKey:TradeID" json:"trade"`
Refund *Refund `gorm:"foreignKey:RefundID" json:"refund"`