From e095ef6b1d80cd361d9e1478bd86f00b28063996 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 14 十一月 2023 13:59:26 +0800
Subject: [PATCH] 数据库迁移到aps库

---
 model/purchase/purchase.go |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/model/purchase/purchase.go b/model/purchase/purchase.go
index 0e9fbdb..01a5e2b 100644
--- a/model/purchase/purchase.go
+++ b/model/purchase/purchase.go
@@ -39,6 +39,10 @@
 	PaidAmount          decimal.Decimal     `json:"paidAmount" form:"paidAmount" gorm:"type:decimal(12,2);not null;default '';comment:宸蹭粯閲戦"`                //宸蹭粯閲戦
 }
 
+func (Purchase) TableName() string {
+	return "srm_purchase"
+}
+
 type OrderStatus int
 
 const (

--
Gitblit v1.8.0