소스 검색

修改接口

yjp 9 달 전
부모
커밋
1bb131ece0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      sdk/sdk.go

+ 2 - 2
sdk/sdk.go

@@ -15,7 +15,7 @@ type SDK struct {
 	grpcClient *grpc_client.Client
 }
 
-func (s *SDK) ExecuteRawSql(sql string, executeParams map[string]any) ([]map[string]any, error) {
+func (s *SDK) ExecuteRawSql(sql string) ([]map[string]any, error) {
 	if strutils.IsStringEmpty(sql) {
 		return make([]map[string]any, 0), nil
 	}
@@ -23,7 +23,7 @@ func (s *SDK) ExecuteRawSql(sql string, executeParams map[string]any) ([]map[str
 	options := s.options
 
 	tableRows, err := s.client.ExecuteRawSql(options.token, options.baseUrl,
-		options.namespace, options.dataSource, sql, executeParams)
+		options.namespace, options.dataSource, sql)
 	if err != nil {
 		return nil, err
 	}