- jdapi store page中AccessStorePage空指针bug
This commit is contained in:
@@ -19,7 +19,7 @@ func init() {
|
||||
sugarLogger = logger.Sugar()
|
||||
baseapi.Init(sugarLogger)
|
||||
|
||||
autonaviAPI = New("4427170f870af2110becb8852d36ab08")
|
||||
autonaviAPI = New("ef64f638f31e05cb7bde28790f7309fe")
|
||||
}
|
||||
|
||||
func TestCoordinateConvert(t *testing.T) {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user