Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop
This commit is contained in:
@@ -40,6 +40,7 @@ func PrintOrder(ctx *jxcontext.Context, vendorOrderID string, vendorID int) (pri
|
|||||||
order.StoreID = storeID
|
order.StoreID = storeID
|
||||||
order.JxStoreID = storeID
|
order.JxStoreID = storeID
|
||||||
}
|
}
|
||||||
|
order.Status = model.OrderStatusNew
|
||||||
printResult, err = PrintOrderByOrder(ctx, order, "order", nil)
|
printResult, err = PrintOrderByOrder(ctx, order, "order", nil)
|
||||||
}
|
}
|
||||||
return printResult, err
|
return printResult, err
|
||||||
|
|||||||
@@ -68,6 +68,9 @@ func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
|||||||
DeliveryServiceCodes: utils.Int2Str(mtpsapi.DeliveryServiceCodeRapid),
|
DeliveryServiceCodes: utils.Int2Str(mtpsapi.DeliveryServiceCodeRapid),
|
||||||
}
|
}
|
||||||
shopStatus := mtpsapi.ShopStatusAuditCreated
|
shopStatus := mtpsapi.ShopStatusAuditCreated
|
||||||
|
if shopInfo.ShopLat <= 9999999 {
|
||||||
|
shopInfo.ShopLat *= 10
|
||||||
|
}
|
||||||
// 获取品牌名称
|
// 获取品牌名称
|
||||||
brandInfo, err := dao.GetBrands(dao.GetDB(), "", storeDetail.BrandID, "", false, "")
|
brandInfo, err := dao.GetBrands(dao.GetDB(), "", storeDetail.BrandID, "", false, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user