diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index d8ad1d4e4..3a5b78d78 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -395,9 +395,9 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao. if price == int(v.SalePrice) { var earningPrice = 0 if v.ShopPrice < v.SalePrice { - earningPrice = int(v.ShopPrice) * storePayPercentage + earningPrice = int(v.ShopPrice) * storePayPercentage / 100 } else { - earningPrice = int(v.ShopPrice) * storePayPercentage + earningPrice = int(v.ShopPrice) * storePayPercentage / 100 } v.EarningPrice = int64(earningPrice) globals.SugarLogger.Debugf("TestearningPrice", earningPrice) diff --git a/business/partner/delivery/mtps/store.go b/business/partner/delivery/mtps/store.go index 453f222e1..bd1a84651 100644 --- a/business/partner/delivery/mtps/store.go +++ b/business/partner/delivery/mtps/store.go @@ -94,8 +94,9 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt VendorID: model.VendorIDMTPS, VendorStoreID: shopInfo.ShopID, CourierStatus: model.StoreStatusOpened, - AuditStatus: model.StoreAuditStatusOnline, + // AuditStatus: model.StoreAuditStatusOnline, } + // result, err := api.MtpsAPI.GetStoreStatus(shopInfo.ShopName) } return storeDetail, err }