This commit is contained in:
邹宗楠
2025-04-11 17:06:10 +08:00
parent dddb18319a
commit a269cc7208
3 changed files with 9 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ func shopStatus2JX(status int) (jxStatus int) {
func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeDetail *dao.StoreDetail2, err error) {
shopInfo, err := api.FnAPI.GetStore(vendorStoreID)
globals.SugarLogger.Debugf("---------err := %v", err)
globals.SugarLogger.Debugf("---------shopInfo := %s", utils.Format4Output(shopInfo, false))
if err == nil {
storeDetail = &dao.StoreDetail2{
Store: model.Store{
@@ -98,6 +100,7 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt
CourierStatus: shopStatus2JX(shopInfo.Status),
}
}
globals.SugarLogger.Debugf("---------storeDetail := %s", utils.Format4Output(storeDetail, false))
return storeDetail, err
}