This commit is contained in:
richboo111
2022-12-22 16:50:48 +08:00
parent be4bca19d9
commit e02d864979

View File

@@ -47,7 +47,6 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt
apiObj := getAPI(relInfo.VendorOrgCode) apiObj := getAPI(relInfo.VendorOrgCode)
globals.SugarLogger.Debugf("apiObj=============%v", apiObj) globals.SugarLogger.Debugf("apiObj=============%v", apiObj)
if storeInfo, err := apiObj.GetStoreDetail(&shop_getStoreDetail_request.ShopGetStoreDetailParam{ if storeInfo, err := apiObj.GetStoreDetail(&shop_getStoreDetail_request.ShopGetStoreDetailParam{
//if storeInfo, err := api.TiktokStore.GetStoreDetail(&shop_getStoreDetail_request.ShopGetStoreDetailParam{
StoreId: vendorStoreID, StoreId: vendorStoreID,
}); err == nil { }); err == nil {
globals.SugarLogger.Debugf("DYPS GetStore storeInfo=====%s", utils.Format4Output(storeInfo, false)) globals.SugarLogger.Debugf("DYPS GetStore storeInfo=====%s", utils.Format4Output(storeInfo, false))
@@ -66,6 +65,7 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt
} else { } else {
globals.SugarLogger.Debugf("GetStoreDetail err=========%s", err) globals.SugarLogger.Debugf("GetStoreDetail err=========%s", err)
} }
globals.SugarLogger.Debugf("storeDetail.Store.Lng====%d,storeDetail.Store.Lat==========%d", storeDetail.Store.Lng, storeDetail.Store.Lat)
globals.SugarLogger.Debugf("DYPS GetStore storeDetail====%s", utils.Format4Output(storeDetail, false)) globals.SugarLogger.Debugf("DYPS GetStore storeDetail====%s", utils.Format4Output(storeDetail, false))
return storeDetail, err return storeDetail, err
} }