Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop

This commit is contained in:
richboo111
2022-12-26 11:31:59 +08:00
2 changed files with 4 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ func PrintOrder(ctx *jxcontext.Context, vendorOrderID string, vendorID int) (pri
order.StoreID = storeID
order.JxStoreID = storeID
}
order.Status = model.OrderStatusNew
printResult, err = PrintOrderByOrder(ctx, order, "order", nil)
}
return printResult, err

View File

@@ -68,6 +68,9 @@ func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.S
DeliveryServiceCodes: utils.Int2Str(mtpsapi.DeliveryServiceCodeRapid),
}
shopStatus := mtpsapi.ShopStatusAuditCreated
if shopInfo.ShopLat <= 9999999 {
shopInfo.ShopLat *= 10
}
// 获取品牌名称
brandInfo, err := dao.GetBrands(dao.GetDB(), "", storeDetail.BrandID, "", false, "")
if err != nil {