- up
This commit is contained in:
@@ -35,6 +35,13 @@ const (
|
||||
CarrierNoSelfTake = 9999 // 到店自提
|
||||
)
|
||||
|
||||
const (
|
||||
CoordinateTypeGoogle = 1 // 谷歌
|
||||
CoordinateTypeBaidu = 2 // 百度
|
||||
CoordinateTypeAutonavi = 3 // 高德
|
||||
CoordinateTypeTencent = 4 // 腾讯
|
||||
)
|
||||
|
||||
type CreateShopResult struct {
|
||||
DeliveryRangeType int `json:"deliveryRangeType"`
|
||||
CoordinatePoints string `json:"coordinatePoints"`
|
||||
@@ -181,7 +188,7 @@ type OrderCommentInfo struct {
|
||||
Score4 int `json:"score4"`
|
||||
Score4Content string `json:"score4Content"`
|
||||
ScoreLevel int `json:"scoreLevel"`
|
||||
StoreID int `json:"storeId"`
|
||||
StoreID int64 `json:"storeId"`
|
||||
StoreName string `json:"storeName"`
|
||||
Tags []string `json:"tags"`
|
||||
TagsKey []string `json:"tagsKey"`
|
||||
|
||||
@@ -102,11 +102,11 @@ func TestUpdateStoreConfig4Open(t *testing.T) {
|
||||
t.Fatal(result)
|
||||
}
|
||||
time.Sleep(2 * time.Second)
|
||||
result2, err := api.GetStoreInfoByStationNo(testStationNo)
|
||||
result2, err := api.GetStoreInfoByStationNo2(testStationNo)
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
isAutoOrder := int(utils.MustInterface2Int64(result2["isAutoOrder"]))
|
||||
isAutoOrder := result2.IsAutoOrder
|
||||
if isAutoOrder != 0 && desiredValue || isAutoOrder == 0 && !desiredValue {
|
||||
t.Fatalf("UpdateStoreConfig4Open failed, isAutoOrder:%d", isAutoOrder)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user