- jdapi store page中AccessStorePage空指针bug

This commit is contained in:
gazebo
2019-09-11 10:41:53 +08:00
parent 77c80f18d7
commit 7e2dfd070b
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ func init() {
sugarLogger = logger.Sugar()
baseapi.Init(sugarLogger)
autonaviAPI = New("4427170f870af2110becb8852d36ab08")
autonaviAPI = New("ef64f638f31e05cb7bde28790f7309fe")
}
func TestCoordinateConvert(t *testing.T) {

View File

@@ -255,7 +255,7 @@ func (a *API) AccessStorePage2(fullURL string, params map[string]interface{}, is
func (a *API) AccessStorePage(fullURL string, params map[string]interface{}, isPost bool) (retVal map[string]interface{}, err error) {
result, err := a.AccessStorePage2(fullURL, params, isPost, ResultKeyResult)
if err == nil {
retVal = result.(map[string]interface{})
retVal, _ = result.(map[string]interface{})
}
return retVal, err
}