From cecba7c4ec316faad7f4b81bb5c9e11de3618000 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Sat, 8 Oct 2022 13:46:11 +0800 Subject: [PATCH] debug --- business/jxstore/cms/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 45dfc6b28..c7068646c 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -4361,7 +4361,7 @@ func CreateVendorStore(ctx *jxcontext.Context, storeID, vendorID int, payload ma VendorOrgCode: payload["vendorOrgCode"].(string), Status: 0, //平台还未审核等 DeliveryType: model.StoreDeliveryTypeByStore, - PricePercentage: int16(utils.Str2Int(utils.Interface2String(payload["pricePercentage"].(string)))), + PricePercentage: int16(utils.MustInterface2Int64(payload["pricePercentage"].(interface{}))), AutoPickup: 1, DeliveryCompetition: 1, IsSync: 1,