diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 914d67845..df6be44eb 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -4512,7 +4512,6 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto func StoreSkuPriceAudit(ctx *jxcontext.Context, storeIDs, nameIDs []int, status int, remark string, isAsync, isContinueWhenError bool) (hint string, err error) { db := dao.GetDB() - fmt.Println("test1", utils.Format4Output(ctx, false)) if status == model.StoreAuditStatusOnline { return "", fmt.Errorf("审核标志不正确!") } diff --git a/business/model/store_sku.go b/business/model/store_sku.go index 1bb2a478a..5d21d6976 100644 --- a/business/model/store_sku.go +++ b/business/model/store_sku.go @@ -208,13 +208,6 @@ type StoreSkuAudit struct { func (*StoreSkuAudit) TableUnique() [][]string { return [][]string{ - []string{"StoreID", "Type", "NameID", "DeletedAt"}, - } -} - -func (*StoreSkuAudit) TableIndex() [][]string { - return [][]string{ - []string{"DeletedAt"}, - []string{"StoreID", "Status", "Type"}, + []string{"StoreID", "Type", "NameID", "Status", "DeletedAt"}, } }