zsgf_client 2.0.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ All URIs are relative to *https://api-dev.zashigaofa.cn*
13
13
 
14
14
  ## user_location
15
15
 
16
- > <GeoLocationModelApiResponse> user_location(id, app_key)
16
+ > <GeoLocationModelApiResponse> user_location(id, app_key, opts)
17
17
 
18
18
  获取位置详情
19
19
 
@@ -33,10 +33,13 @@ end
33
33
  api_instance = ZSGFClient::UserLocationApi.new
34
34
  id = 789 # Integer | 位置ID
35
35
  app_key = 'app_key_example' # String |
36
+ opts = {
37
+ user_id: 'user_id_example' # String |
38
+ }
36
39
 
37
40
  begin
38
41
  # 获取位置详情
39
- result = api_instance.user_location(id, app_key)
42
+ result = api_instance.user_location(id, app_key, opts)
40
43
  p result
41
44
  rescue ZSGFClient::ApiError => e
42
45
  puts "Error when calling UserLocationApi->user_location: #{e}"
@@ -47,12 +50,12 @@ end
47
50
 
48
51
  This returns an Array which contains the response data, status code and headers.
49
52
 
50
- > <Array(<GeoLocationModelApiResponse>, Integer, Hash)> user_location_with_http_info(id, app_key)
53
+ > <Array(<GeoLocationModelApiResponse>, Integer, Hash)> user_location_with_http_info(id, app_key, opts)
51
54
 
52
55
  ```ruby
53
56
  begin
54
57
  # 获取位置详情
55
- data, status_code, headers = api_instance.user_location_with_http_info(id, app_key)
58
+ data, status_code, headers = api_instance.user_location_with_http_info(id, app_key, opts)
56
59
  p status_code # => 2xx
57
60
  p headers # => { ... }
58
61
  p data # => <GeoLocationModelApiResponse>
@@ -67,6 +70,7 @@ end
67
70
  | ---- | ---- | ----------- | ----- |
68
71
  | **id** | **Integer** | 位置ID | |
69
72
  | **app_key** | **String** | | |
73
+ | **user_id** | **String** | | [optional][default to &#39;&#39;] |
70
74
 
71
75
  ### Return type
72
76
 
@@ -84,7 +88,7 @@ end
84
88
 
85
89
  ## user_location_delete
86
90
 
87
- > <BooleanApiResponse> user_location_delete(id, app_key)
91
+ > <BooleanApiResponse> user_location_delete(id, app_key, opts)
88
92
 
89
93
  删除位置
90
94
 
@@ -104,10 +108,13 @@ end
104
108
  api_instance = ZSGFClient::UserLocationApi.new
105
109
  id = 789 # Integer | 位置ID
106
110
  app_key = 'app_key_example' # String |
111
+ opts = {
112
+ user_id: 'user_id_example' # String |
113
+ }
107
114
 
108
115
  begin
109
116
  # 删除位置
110
- result = api_instance.user_location_delete(id, app_key)
117
+ result = api_instance.user_location_delete(id, app_key, opts)
111
118
  p result
112
119
  rescue ZSGFClient::ApiError => e
113
120
  puts "Error when calling UserLocationApi->user_location_delete: #{e}"
@@ -118,12 +125,12 @@ end
118
125
 
119
126
  This returns an Array which contains the response data, status code and headers.
120
127
 
121
- > <Array(<BooleanApiResponse>, Integer, Hash)> user_location_delete_with_http_info(id, app_key)
128
+ > <Array(<BooleanApiResponse>, Integer, Hash)> user_location_delete_with_http_info(id, app_key, opts)
122
129
 
123
130
  ```ruby
124
131
  begin
125
132
  # 删除位置
126
- data, status_code, headers = api_instance.user_location_delete_with_http_info(id, app_key)
133
+ data, status_code, headers = api_instance.user_location_delete_with_http_info(id, app_key, opts)
127
134
  p status_code # => 2xx
128
135
  p headers # => { ... }
129
136
  p data # => <BooleanApiResponse>
@@ -138,6 +145,7 @@ end
138
145
  | ---- | ---- | ----------- | ----- |
139
146
  | **id** | **Integer** | 位置ID | |
140
147
  | **app_key** | **String** | | |
148
+ | **user_id** | **String** | | [optional][default to &#39;&#39;] |
141
149
 
142
150
  ### Return type
143
151
 
@@ -175,6 +183,7 @@ end
175
183
  api_instance = ZSGFClient::UserLocationApi.new
176
184
  app_key = 'app_key_example' # String |
177
185
  opts = {
186
+ user_id: 'user_id_example', # String |
178
187
  geo_location_model: ZSGFClient::GeoLocationModel.new({latitude: 3.56, longitude: 3.56, location_type: 'location_type_example'}) # GeoLocationModel | 位置信息
179
188
  }
180
189
 
@@ -210,6 +219,7 @@ end
210
219
  | Name | Type | Description | Notes |
211
220
  | ---- | ---- | ----------- | ----- |
212
221
  | **app_key** | **String** | | |
222
+ | **user_id** | **String** | | [optional][default to &#39;&#39;] |
213
223
  | **geo_location_model** | [**GeoLocationModel**](GeoLocationModel.md) | 位置信息 | [optional] |
214
224
 
215
225
  ### Return type
@@ -249,6 +259,7 @@ api_instance = ZSGFClient::UserLocationApi.new
249
259
  id = 789 # Integer | 位置ID
250
260
  app_key = 'app_key_example' # String |
251
261
  opts = {
262
+ user_id: 'user_id_example', # String |
252
263
  geo_location_model: ZSGFClient::GeoLocationModel.new({latitude: 3.56, longitude: 3.56, location_type: 'location_type_example'}) # GeoLocationModel | 位置信息
253
264
  }
254
265
 
@@ -285,6 +296,7 @@ end
285
296
  | ---- | ---- | ----------- | ----- |
286
297
  | **id** | **Integer** | 位置ID | |
287
298
  | **app_key** | **String** | | |
299
+ | **user_id** | **String** | | [optional][default to &#39;&#39;] |
288
300
  | **geo_location_model** | [**GeoLocationModel**](GeoLocationModel.md) | 位置信息 | [optional] |
289
301
 
290
302
  ### Return type
@@ -329,7 +341,8 @@ opts = {
329
341
  y: 1.2, # Float | 经度
330
342
  sphere: 789, # Integer | 附近距离,单位:米
331
343
  skip: 56, # Integer | 跳过的记录数
332
- take: 56 # Integer | 获取的记录数
344
+ take: 56, # Integer | 获取的记录数
345
+ user_id: 'user_id_example' # String |
333
346
  }
334
347
 
335
348
  begin
@@ -371,6 +384,7 @@ end
371
384
  | **sphere** | **Integer** | 附近距离,单位:米 | [optional] |
372
385
  | **skip** | **Integer** | 跳过的记录数 | [optional] |
373
386
  | **take** | **Integer** | 获取的记录数 | [optional][default to 10] |
387
+ | **user_id** | **String** | | [optional][default to &#39;&#39;] |
374
388
 
375
389
  ### Return type
376
390
 
@@ -24,6 +24,7 @@ module ZSGFClient
24
24
  # @param id [Integer]
25
25
  # @param app_key [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :user_id
27
28
  # @return [BooleanApiResponse]
28
29
  def access_token_delete(id, app_key, opts = {})
29
30
  data, _status_code, _headers = access_token_delete_with_http_info(id, app_key, opts)
@@ -35,6 +36,7 @@ module ZSGFClient
35
36
  # @param id [Integer]
36
37
  # @param app_key [String]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :user_id
38
40
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
39
41
  def access_token_delete_with_http_info(id, app_key, opts = {})
40
42
  if @api_client.config.debugging
@@ -53,6 +55,7 @@ module ZSGFClient
53
55
 
54
56
  # query parameters
55
57
  query_params = opts[:query_params] || {}
58
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
56
59
 
57
60
  # header parameters
58
61
  header_params = opts[:header_params] || {}
@@ -92,6 +95,7 @@ module ZSGFClient
92
95
  # 创建新的用户令牌
93
96
  # @param app_key [String]
94
97
  # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :user_id
95
99
  # @option opts [AccessTokenPostRequest] :access_token_post_request
96
100
  # @return [TokenModelApiResponse]
97
101
  def access_token_post(app_key, opts = {})
@@ -103,6 +107,7 @@ module ZSGFClient
103
107
  # 创建新的用户令牌
104
108
  # @param app_key [String]
105
109
  # @param [Hash] opts the optional parameters
110
+ # @option opts [String] :user_id
106
111
  # @option opts [AccessTokenPostRequest] :access_token_post_request
107
112
  # @return [Array<(TokenModelApiResponse, Integer, Hash)>] TokenModelApiResponse data, response status code and response headers
108
113
  def access_token_post_with_http_info(app_key, opts = {})
@@ -118,6 +123,7 @@ module ZSGFClient
118
123
 
119
124
  # query parameters
120
125
  query_params = opts[:query_params] || {}
126
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
121
127
 
122
128
  # header parameters
123
129
  header_params = opts[:header_params] || {}
@@ -163,6 +169,7 @@ module ZSGFClient
163
169
  # @param id [Integer]
164
170
  # @param app_key [String]
165
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :user_id
166
173
  # @option opts [AccessTokenPutRequest] :access_token_put_request
167
174
  # @return [BooleanApiResponse]
168
175
  def access_token_put(id, app_key, opts = {})
@@ -175,6 +182,7 @@ module ZSGFClient
175
182
  # @param id [Integer]
176
183
  # @param app_key [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [String] :user_id
178
186
  # @option opts [AccessTokenPutRequest] :access_token_put_request
179
187
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
180
188
  def access_token_put_with_http_info(id, app_key, opts = {})
@@ -194,6 +202,7 @@ module ZSGFClient
194
202
 
195
203
  # query parameters
196
204
  query_params = opts[:query_params] || {}
205
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
197
206
 
198
207
  # header parameters
199
208
  header_params = opts[:header_params] || {}
@@ -238,9 +247,9 @@ module ZSGFClient
238
247
  # 获取用户令牌列表
239
248
  # @param app_key [String]
240
249
  # @param [Hash] opts the optional parameters
241
- # @option opts [Integer] :user_id
242
250
  # @option opts [Integer] :skip
243
251
  # @option opts [Integer] :take
252
+ # @option opts [String] :user_id
244
253
  # @return [AccessTokenListResultApiResponse]
245
254
  def access_tokens(app_key, opts = {})
246
255
  data, _status_code, _headers = access_tokens_with_http_info(app_key, opts)
@@ -251,9 +260,9 @@ module ZSGFClient
251
260
  # 获取用户令牌列表
252
261
  # @param app_key [String]
253
262
  # @param [Hash] opts the optional parameters
254
- # @option opts [Integer] :user_id
255
263
  # @option opts [Integer] :skip
256
264
  # @option opts [Integer] :take
265
+ # @option opts [String] :user_id
257
266
  # @return [Array<(AccessTokenListResultApiResponse, Integer, Hash)>] AccessTokenListResultApiResponse data, response status code and response headers
258
267
  def access_tokens_with_http_info(app_key, opts = {})
259
268
  if @api_client.config.debugging
@@ -268,9 +277,9 @@ module ZSGFClient
268
277
 
269
278
  # query parameters
270
279
  query_params = opts[:query_params] || {}
271
- query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
272
280
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
273
281
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
282
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
274
283
 
275
284
  # header parameters
276
285
  header_params = opts[:header_params] || {}
@@ -23,6 +23,7 @@ module ZSGFClient
23
23
  # 使用外部账号登录应用
24
24
  # @param app_key [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :user_id
26
27
  # @option opts [ExternalAccountSignInRequest] :external_account_sign_in_request 登录请求参数
27
28
  # @return [TokenModelApiResponse]
28
29
  def external_account_sign_in(app_key, opts = {})
@@ -34,6 +35,7 @@ module ZSGFClient
34
35
  # 使用外部账号登录应用
35
36
  # @param app_key [String]
36
37
  # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :user_id
37
39
  # @option opts [ExternalAccountSignInRequest] :external_account_sign_in_request 登录请求参数
38
40
  # @return [Array<(TokenModelApiResponse, Integer, Hash)>] TokenModelApiResponse data, response status code and response headers
39
41
  def external_account_sign_in_with_http_info(app_key, opts = {})
@@ -49,6 +51,7 @@ module ZSGFClient
49
51
 
50
52
  # query parameters
51
53
  query_params = opts[:query_params] || {}
54
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
52
55
 
53
56
  # header parameters
54
57
  header_params = opts[:header_params] || {}
@@ -93,6 +96,7 @@ module ZSGFClient
93
96
  # 绑定外部账号,如果已存在绑定则直接返回成功
94
97
  # @param app_key [String]
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :user_id
96
100
  # @option opts [ExternalAccountBindRequest] :external_account_bind_request 绑定请求参数
97
101
  # @return [BooleanApiResponse]
98
102
  def user_external_account_bind(app_key, opts = {})
@@ -104,6 +108,7 @@ module ZSGFClient
104
108
  # 绑定外部账号,如果已存在绑定则直接返回成功
105
109
  # @param app_key [String]
106
110
  # @param [Hash] opts the optional parameters
111
+ # @option opts [String] :user_id
107
112
  # @option opts [ExternalAccountBindRequest] :external_account_bind_request 绑定请求参数
108
113
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
109
114
  def user_external_account_bind_with_http_info(app_key, opts = {})
@@ -119,6 +124,7 @@ module ZSGFClient
119
124
 
120
125
  # query parameters
121
126
  query_params = opts[:query_params] || {}
127
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
122
128
 
123
129
  # header parameters
124
130
  header_params = opts[:header_params] || {}
@@ -163,6 +169,7 @@ module ZSGFClient
163
169
  # 获取绑定成功的外部账号列表
164
170
  # @param app_key [String]
165
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :user_id
166
173
  # @return [UserLoginsListApiResponse]
167
174
  def user_o_auth_accounts(app_key, opts = {})
168
175
  data, _status_code, _headers = user_o_auth_accounts_with_http_info(app_key, opts)
@@ -173,6 +180,7 @@ module ZSGFClient
173
180
  # 获取绑定成功的外部账号列表
174
181
  # @param app_key [String]
175
182
  # @param [Hash] opts the optional parameters
183
+ # @option opts [String] :user_id
176
184
  # @return [Array<(UserLoginsListApiResponse, Integer, Hash)>] UserLoginsListApiResponse data, response status code and response headers
177
185
  def user_o_auth_accounts_with_http_info(app_key, opts = {})
178
186
  if @api_client.config.debugging
@@ -187,6 +195,7 @@ module ZSGFClient
187
195
 
188
196
  # query parameters
189
197
  query_params = opts[:query_params] || {}
198
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
190
199
 
191
200
  # header parameters
192
201
  header_params = opts[:header_params] || {}
@@ -227,6 +236,7 @@ module ZSGFClient
227
236
  # @param id [Integer] 绑定ID
228
237
  # @param app_key [String]
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [String] :user_id
230
240
  # @option opts [ExternalAccountPutRequest] :external_account_put_request 更新请求参数
231
241
  # @return [BooleanApiResponse]
232
242
  def user_o_auth_accounts_put_bind(id, app_key, opts = {})
@@ -239,6 +249,7 @@ module ZSGFClient
239
249
  # @param id [Integer] 绑定ID
240
250
  # @param app_key [String]
241
251
  # @param [Hash] opts the optional parameters
252
+ # @option opts [String] :user_id
242
253
  # @option opts [ExternalAccountPutRequest] :external_account_put_request 更新请求参数
243
254
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
244
255
  def user_o_auth_accounts_put_bind_with_http_info(id, app_key, opts = {})
@@ -258,6 +269,7 @@ module ZSGFClient
258
269
 
259
270
  # query parameters
260
271
  query_params = opts[:query_params] || {}
272
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
261
273
 
262
274
  # header parameters
263
275
  header_params = opts[:header_params] || {}
@@ -303,6 +315,7 @@ module ZSGFClient
303
315
  # @param id [Integer] 绑定ID
304
316
  # @param app_key [String]
305
317
  # @param [Hash] opts the optional parameters
318
+ # @option opts [String] :user_id
306
319
  # @return [BooleanApiResponse]
307
320
  def user_o_auth_accounts_un_bind(id, app_key, opts = {})
308
321
  data, _status_code, _headers = user_o_auth_accounts_un_bind_with_http_info(id, app_key, opts)
@@ -314,6 +327,7 @@ module ZSGFClient
314
327
  # @param id [Integer] 绑定ID
315
328
  # @param app_key [String]
316
329
  # @param [Hash] opts the optional parameters
330
+ # @option opts [String] :user_id
317
331
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
318
332
  def user_o_auth_accounts_un_bind_with_http_info(id, app_key, opts = {})
319
333
  if @api_client.config.debugging
@@ -332,6 +346,7 @@ module ZSGFClient
332
346
 
333
347
  # query parameters
334
348
  query_params = opts[:query_params] || {}
349
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
335
350
 
336
351
  # header parameters
337
352
  header_params = opts[:header_params] || {}
@@ -20,39 +20,42 @@ module ZSGFClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # 获取用户资产
23
- # 根据用户ID获取用户的资产列表
24
- # @param id [Integer] 用户ID
23
+ # 获取用户的资产列表
25
24
  # @param app_key [String]
25
+ # @param id [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :user_id
27
28
  # @return [UserCurrencyListApiResponse]
28
- def user_currencies(id, app_key, opts = {})
29
- data, _status_code, _headers = user_currencies_with_http_info(id, app_key, opts)
29
+ def user_currencies(app_key, id, opts = {})
30
+ data, _status_code, _headers = user_currencies_with_http_info(app_key, id, opts)
30
31
  data
31
32
  end
32
33
 
33
34
  # 获取用户资产
34
- # 根据用户ID获取用户的资产列表
35
- # @param id [Integer] 用户ID
35
+ # 获取用户的资产列表
36
36
  # @param app_key [String]
37
+ # @param id [String]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :user_id
38
40
  # @return [Array<(UserCurrencyListApiResponse, Integer, Hash)>] UserCurrencyListApiResponse data, response status code and response headers
39
- def user_currencies_with_http_info(id, app_key, opts = {})
41
+ def user_currencies_with_http_info(app_key, id, opts = {})
40
42
  if @api_client.config.debugging
41
43
  @api_client.config.logger.debug 'Calling API: UserCurrencyApi.user_currencies ...'
42
44
  end
43
- # verify the required parameter 'id' is set
44
- if @api_client.config.client_side_validation && id.nil?
45
- fail ArgumentError, "Missing the required parameter 'id' when calling UserCurrencyApi.user_currencies"
46
- end
47
45
  # verify the required parameter 'app_key' is set
48
46
  if @api_client.config.client_side_validation && app_key.nil?
49
47
  fail ArgumentError, "Missing the required parameter 'app_key' when calling UserCurrencyApi.user_currencies"
50
48
  end
49
+ # verify the required parameter 'id' is set
50
+ if @api_client.config.client_side_validation && id.nil?
51
+ fail ArgumentError, "Missing the required parameter 'id' when calling UserCurrencyApi.user_currencies"
52
+ end
51
53
  # resource path
52
- local_var_path = '/UserCurrency/{appKey}/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'appKey' + '}', CGI.escape(app_key.to_s))
54
+ local_var_path = '/UserCurrency/{appKey}/{id}'.sub('{' + 'appKey' + '}', CGI.escape(app_key.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
53
55
 
54
56
  # query parameters
55
57
  query_params = opts[:query_params] || {}
58
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
56
59
 
57
60
  # header parameters
58
61
  header_params = opts[:header_params] || {}
@@ -95,6 +98,7 @@ module ZSGFClient
95
98
  # @param signature [String] 签名
96
99
  # @param app_key [String]
97
100
  # @param [Hash] opts the optional parameters
101
+ # @option opts [String] :user_id
98
102
  # @option opts [CurrencyConsumeRequest] :currency_consume_request 消费请求参数
99
103
  # @return [BooleanApiResponse]
100
104
  def user_currency_consume(nonce, timestamp, signature, app_key, opts = {})
@@ -109,6 +113,7 @@ module ZSGFClient
109
113
  # @param signature [String] 签名
110
114
  # @param app_key [String]
111
115
  # @param [Hash] opts the optional parameters
116
+ # @option opts [String] :user_id
112
117
  # @option opts [CurrencyConsumeRequest] :currency_consume_request 消费请求参数
113
118
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
114
119
  def user_currency_consume_with_http_info(nonce, timestamp, signature, app_key, opts = {})
@@ -139,6 +144,7 @@ module ZSGFClient
139
144
  query_params[:'nonce'] = nonce
140
145
  query_params[:'timestamp'] = timestamp
141
146
  query_params[:'signature'] = signature
147
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
142
148
 
143
149
  # header parameters
144
150
  header_params = opts[:header_params] || {}
@@ -186,6 +192,7 @@ module ZSGFClient
186
192
  # @param signature [String] 签名
187
193
  # @param app_key [String]
188
194
  # @param [Hash] opts the optional parameters
195
+ # @option opts [String] :user_id
189
196
  # @option opts [ExchangeCurrencyRequest] :exchange_currency_request 兑换请求参数
190
197
  # @return [BooleanApiResponse]
191
198
  def user_currency_exchange(nonce, timestamp, signature, app_key, opts = {})
@@ -200,6 +207,7 @@ module ZSGFClient
200
207
  # @param signature [String] 签名
201
208
  # @param app_key [String]
202
209
  # @param [Hash] opts the optional parameters
210
+ # @option opts [String] :user_id
203
211
  # @option opts [ExchangeCurrencyRequest] :exchange_currency_request 兑换请求参数
204
212
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
205
213
  def user_currency_exchange_with_http_info(nonce, timestamp, signature, app_key, opts = {})
@@ -230,6 +238,7 @@ module ZSGFClient
230
238
  query_params[:'nonce'] = nonce
231
239
  query_params[:'timestamp'] = timestamp
232
240
  query_params[:'signature'] = signature
241
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
233
242
 
234
243
  # header parameters
235
244
  header_params = opts[:header_params] || {}
@@ -277,6 +286,7 @@ module ZSGFClient
277
286
  # @param signature [String] 签名
278
287
  # @param app_key [String]
279
288
  # @param [Hash] opts the optional parameters
289
+ # @option opts [String] :user_id
280
290
  # @option opts [RechargePointRequest] :recharge_point_request 充值请求参数
281
291
  # @return [BooleanApiResponse]
282
292
  def user_currency_recharge(nonce, timestamp, signature, app_key, opts = {})
@@ -291,6 +301,7 @@ module ZSGFClient
291
301
  # @param signature [String] 签名
292
302
  # @param app_key [String]
293
303
  # @param [Hash] opts the optional parameters
304
+ # @option opts [String] :user_id
294
305
  # @option opts [RechargePointRequest] :recharge_point_request 充值请求参数
295
306
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
296
307
  def user_currency_recharge_with_http_info(nonce, timestamp, signature, app_key, opts = {})
@@ -321,6 +332,7 @@ module ZSGFClient
321
332
  query_params[:'nonce'] = nonce
322
333
  query_params[:'timestamp'] = timestamp
323
334
  query_params[:'signature'] = signature
335
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
324
336
 
325
337
  # header parameters
326
338
  header_params = opts[:header_params] || {}
@@ -371,6 +383,7 @@ module ZSGFClient
371
383
  # @option opts [Time] :end_time 结束时间
372
384
  # @option opts [Integer] :skip 跳过的条数
373
385
  # @option opts [Integer] :take 拉取的条数
386
+ # @option opts [String] :user_id
374
387
  # @return [UserCurrencyCurrencyTransResultApiResponse]
375
388
  def user_currency_transactions(app_key, opts = {})
376
389
  data, _status_code, _headers = user_currency_transactions_with_http_info(app_key, opts)
@@ -387,6 +400,7 @@ module ZSGFClient
387
400
  # @option opts [Time] :end_time 结束时间
388
401
  # @option opts [Integer] :skip 跳过的条数
389
402
  # @option opts [Integer] :take 拉取的条数
403
+ # @option opts [String] :user_id
390
404
  # @return [Array<(UserCurrencyCurrencyTransResultApiResponse, Integer, Hash)>] UserCurrencyCurrencyTransResultApiResponse data, response status code and response headers
391
405
  def user_currency_transactions_with_http_info(app_key, opts = {})
392
406
  if @api_client.config.debugging
@@ -407,6 +421,7 @@ module ZSGFClient
407
421
  query_params[:'endTime'] = opts[:'end_time'] if !opts[:'end_time'].nil?
408
422
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
409
423
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
424
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
410
425
 
411
426
  # header parameters
412
427
  header_params = opts[:header_params] || {}