From 46cc5df1d1c6e56a58f3c47eda474c807369e329 Mon Sep 17 00:00:00 2001
From: jhc <haichengj@163.com>
Date: Sun, 23 Feb 2025 11:09:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 internal/model/bundle_order_records.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/internal/model/bundle_order_records.go b/internal/model/bundle_order_records.go
index 7bedc71..cde740e 100644
--- a/internal/model/bundle_order_records.go
+++ b/internal/model/bundle_order_records.go
@@ -19,7 +19,7 @@ type BundleOrderRecords struct {
 	SignedTime         string  `json:"signedTime" gorm:"column:signed_time;type:varchar(1024);comment:签约时间(北京时间)"`
 	PayType            int64   `json:"payType" gorm:"column:pay_type;type:int;comment:支付类型"`
 	PayTime            string  `json:"payTime" gorm:"column:pay_time;type:varchar(1024);comment:支付时间(北京时间)"`
-	CheckoutSessionId  string  `json:"checkoutSessionId" gorm:"column:checkout_session_id;type:varchar(1024);comment:checkoutSessionId"`
-	CheckoutSessionUrl string  `json:"checkoutSessionUrl" gorm:"column:checkout_session_url;type:text;comment:checkoutSessionUrl"`
+	CheckoutSessionId  string  `json:"checkoutSessionId" gorm:"column:checkout_session_id;type:varchar(1024);default:null;comment:checkoutSessionId"`
+	CheckoutSessionUrl string  `json:"checkoutSessionUrl" gorm:"column:checkout_session_url;type:varchar(4096);default:null;comment:checkoutSessionUrl"`
 	Status             int64   `json:"status" gorm:"column:status;type:int;comment:状态 1:已签未支付 2:已签已支付"`
 }