aa
This commit is contained in:
@@ -54,18 +54,19 @@ func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
shopInfo := &mtpsapi.ShopInfo{
|
shopInfo := &mtpsapi.ShopInfo{
|
||||||
ShopID: storeDetail.VendorStoreID,
|
ShopID: storeDetail.VendorStoreID,
|
||||||
ShopName: storeDetail.Name,
|
ShopName: storeDetail.Name,
|
||||||
Category: mtpsapi.ShopCategoryFruit,
|
Category: mtpsapi.ShopCategoryFruit,
|
||||||
SecondCategory: mtpsapi.ShopCategoryFruitFruit,
|
SecondCategory: mtpsapi.ShopCategoryFruitFruit,
|
||||||
ContactName: storeDetail.PayeeName,
|
ContactName: storeDetail.PayeeName,
|
||||||
ContactPhone: storeDetail.Tel1,
|
ContactPhone: storeDetail.Tel1,
|
||||||
ContactEmail: fakeContactEmail,
|
ContactEmail: fakeContactEmail,
|
||||||
ShopAddress: storeDetail.Address,
|
ShopAddress: storeDetail.Address,
|
||||||
ShopLng: storeDetail.Lng,
|
ShopLng: storeDetail.Lng,
|
||||||
ShopLat: storeDetail.Lat,
|
ShopLat: storeDetail.Lat,
|
||||||
CoordinateType: mtpsapi.CoordinateTypeMars,
|
CoordinateType: mtpsapi.CoordinateTypeMars,
|
||||||
BusinessHours: string(utils.MustMarshal(businessHours)),
|
BusinessHours: string(utils.MustMarshal(businessHours)),
|
||||||
|
DeliveryServiceCodes: utils.Int2Str(mtpsapi.DeliveryServiceCodeRapid),
|
||||||
}
|
}
|
||||||
shopStatus := mtpsapi.ShopStatusAuditCreated
|
shopStatus := mtpsapi.ShopStatusAuditCreated
|
||||||
if globals.EnableStoreWrite {
|
if globals.EnableStoreWrite {
|
||||||
|
|||||||
Reference in New Issue
Block a user