- change jd sandbox token

This commit is contained in:
gazebo
2019-01-02 18:11:51 +08:00
parent 2d525ea749
commit 4b67311ba8
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ func init() {
baseapi.Init(sugarLogger)
// sandbox
jdapi = New("c8854ef2-f80a-45ee-aceb-dc8014d646f8", "06692746f7224695ad4788ce340bc854", "d6b42a35a7414a5490d811654d745c84")
jdapi = New("df97f334-f7d8-4b36-9664-5784d8ae0baf", "06692746f7224695ad4788ce340bc854", "d6b42a35a7414a5490d811654d745c84")
// prod
// jdapi = New("ccb10daf-e6f5-4a58-ada5-b97f9073a137", "1dba76d40cac446ca500c0391a0b6c9d", "a88d031a1e7b462cb1579f12e97fe7f4")
}

View File

@@ -26,7 +26,7 @@ func TestGetStationsByVenderId(t *testing.T) {
}
}
if !findStore {
baseapi.SugarLogger.Fatal("result have no store:%s", mustExistStoreID)
baseapi.SugarLogger.Fatalf("result have no store:%s", mustExistStoreID)
}
}
@@ -37,7 +37,7 @@ func TestGetStoreInfoByStationNo(t *testing.T) {
}
outSystemId := result["outSystemId"].(string)
if outSystemId != "100285" {
baseapi.SugarLogger.Fatal("outSystemId is not correct, its:%s", outSystemId)
baseapi.SugarLogger.Fatalf("outSystemId is not correct, its:%s", outSystemId)
}
}