This commit is contained in:
邹宗楠
2022-12-24 11:19:05 +08:00
parent f098ac1ccb
commit 25062f829b
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 {