移除摸大红支付后建群逻辑,仅保留扫码与复制

支付成功只固化客服二维码与订单文案;同步清理迁移、配置与前后端相关字段。
This commit is contained in:
yml2213
2026-07-16 19:52:40 +08:00
parent 094a91c985
commit e07532a188
17 changed files with 16 additions and 192 deletions
-1
View File
@@ -10,7 +10,6 @@ type ChatConversation struct {
ID uint64 `gorm:"primaryKey" json:"id"`
OrderID *uint64 `gorm:"uniqueIndex" json:"order_id"`
ListingID *uint64 `gorm:"index" json:"listing_id"`
MohongOrderID *uint64 `gorm:"column:mohong_order_id;uniqueIndex" json:"mohong_order_id"`
Type string `gorm:"size:32;not null;default:'order_group'" json:"type"`
Title string `gorm:"size:128;not null" json:"title"`
Status string `gorm:"size:32;not null;default:'active'" json:"status"`
-1
View File
@@ -68,7 +68,6 @@ type MohongOrder struct {
ProductSnapshot datatypes.JSON `gorm:"column:product_snapshot" json:"product_snapshot"`
QrcodeURLSnapshot string `gorm:"column:qrcode_url_snapshot;size:512;not null;default:''" json:"qrcode_url_snapshot"`
CopyText string `gorm:"type:text;not null" json:"copy_text"`
ConversationID *uint64 `gorm:"column:conversation_id" json:"conversation_id"`
PaidAt *time.Time `json:"paid_at"`
CompletedAt *time.Time `json:"completed_at"`
CancelledAt *time.Time `json:"cancelled_at"`