修复店铺名不存在的问题
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m29s

This commit is contained in:
2026-04-23 10:21:23 +08:00
parent 6b1fbf4a92
commit 52d883d8a0
4 changed files with 17 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ type RefundRequest struct {
OrderID uint `gorm:"column:order_id;index;not null;comment:关联订单ID" json:"order_id"`
PackageUsageID *uint `gorm:"column:package_usage_id;comment:关联套餐使用记录ID可选" json:"package_usage_id,omitempty"`
ShopID *uint `gorm:"column:shop_id;index;comment:店铺ID从订单获取用于数据权限过滤" json:"shop_id,omitempty"`
ShopName string `gorm:"column:shop_name;->" json:"shop_name,omitempty"`
// 金额信息
ActualReceivedAmount int64 `gorm:"column:actual_received_amount;type:bigint;not null;comment:实收金额(分)" json:"actual_received_amount"`