This commit is contained in:
邹宗楠
2022-12-26 18:38:11 +08:00
parent 884aae371f
commit 2b2cab3413
3 changed files with 14 additions and 12 deletions

View File

@@ -28,18 +28,18 @@ func TestShopQuery(t *testing.T) {
func TestShopCreate(t *testing.T) {
shopInfo := &ShopInfo{
ShopID: "667553",
ShopName: "三里家园店",
ShopID: "668752",
ShopName: "创新百货超市(江津玉观店)",
Category: ShopCategoryFruit,
SecondCategory: ShopCategoryFruitFruit,
ContactName: "高朋朋",
ContactPhone: "15869188805",
ShopAddress: "浙江省杭州市下城区文晖街道三里家园一小区25幢杭州新三里家园农贸市场一层36号",
ShopLng: 120190237,
ShopLat: 30301060,
ContactName: "店主",
ContactPhone: "15019883393",
ShopAddress: "重庆市江津区龙珠街31号附14号",
ShopLng: 106463489,
ShopLat: 29316689,
CoordinateType: CoordinateTypeMars,
DeliveryServiceCodes: utils.Int2Str(DeliveryServiceCodeRapid),
BusinessHours: "[{\"beginTime\":\"07:00\",\"endTime\":\"19:30\"}]",
BusinessHours: "[{\"beginTime\":\"08:00\",\"endTime\":\"22:0\"}]",
}
_, err := api.ShopCreate(shopInfo)
if err != nil {