Skip to content

Commit fd53e77

Browse files
authored
Merge pull request #708 from ArtisanCloud/develop
Develop
2 parents 4887812 + 02bcf7b commit fd53e77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/basicService/jssdk/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ func (comp *Client) BuildConfig(ctx context.Context, jsApiList []string, debug b
7070

7171
}
7272

73-
func (comp *Client) GetConfigArray(ctx context.Context, apis []string, debug bool, beta bool, openTagList []string, url string) (string, error) {
73+
func (comp *Client) GetConfigArray(ctx context.Context, apis []string, debug bool, beta bool, openTagList []string, url string) (*power.HashMap, error) {
7474

7575
result, err := comp.BuildConfig(ctx, apis, debug, beta, openTagList, url)
7676

77-
return result.(string), err
77+
return result.(*power.HashMap), err
7878
}
7979

8080
func (comp *Client) GetTicket(ctx context.Context, refresh bool, ticketType string) (*object.HashMap, error) {

src/work/jssdk/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (c *Client) GetAgentTicket(
130130
"cgi-bin/ticket/get",
131131
"GET",
132132
&object.HashMap{
133-
"query": map[string]string{
133+
"query": &object.StringMap{
134134
"type": ticketType,
135135
},
136136
},

0 commit comments

Comments
 (0)