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"}, } }