From 610a7feeca038562860614ac02ca5c60eec77857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 24 Feb 2023 14:51:32 +0800 Subject: [PATCH] 1 --- business/model/print_bind_store.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/business/model/print_bind_store.go b/business/model/print_bind_store.go index 29351f315..ba1605378 100644 --- a/business/model/print_bind_store.go +++ b/business/model/print_bind_store.go @@ -15,15 +15,10 @@ type PrintBindStore struct { BindStatus int `orm:"type(int);size(2)" json:"bind_status" db:"bind_status"` // 绑定状态 } -func (v *PrintBindStore) TableUnique() [][]string { - return [][]string{ - []string{"StoreID"}, - } -} - func (v *PrintBindStore) TableIndex() [][]string { return [][]string{ []string{"UserId", "PrintNo", "StoreID"}, []string{"PrintNo", "StoreID"}, + []string{"StoreID"}, } }