@fxri/swagger2api 1.0.14 → 1.0.15
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.
- package/README.md +44 -1
- package/dist/api/api.js +2 -1
- package/dist/api/index.d.ts +1300 -22863
- package/dist/api/index.js +388 -15393
- package/dist/api/kjt.d.ts +215 -118
- package/dist/api/kjt.js +83 -82
- package/package.json +1 -1
package/dist/api/kjt.js
CHANGED
|
@@ -116,14 +116,15 @@ export class HttpClient {
|
|
|
116
116
|
export class Api extends HttpClient {
|
|
117
117
|
transaction = {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* No description
|
|
120
120
|
*
|
|
121
121
|
* @tags 商户交易模块
|
|
122
|
-
* @name
|
|
122
|
+
* @name BatchPayLaunchPost
|
|
123
|
+
* @summary 发起批付
|
|
123
124
|
* @request POST:/transaction/batch-pay/launch
|
|
124
125
|
* @response `200` `ResponseMsgBatchPayLaunchRespVo` OK
|
|
125
126
|
*/
|
|
126
|
-
|
|
127
|
+
batchPayLaunchPost: (data, params = {}) => this.request({
|
|
127
128
|
path: `/transaction/batch-pay/launch`,
|
|
128
129
|
method: "POST",
|
|
129
130
|
body: data,
|
|
@@ -131,28 +132,30 @@ export class Api extends HttpClient {
|
|
|
131
132
|
...params,
|
|
132
133
|
}),
|
|
133
134
|
/**
|
|
134
|
-
*
|
|
135
|
+
* No description
|
|
135
136
|
*
|
|
136
137
|
* @tags 商户交易模块
|
|
137
|
-
* @name
|
|
138
|
+
* @name BatchPayListGet
|
|
139
|
+
* @summary 获取当前商户的批付列表,(指定商户时需要权限)
|
|
138
140
|
* @request GET:/transaction/batch-pay/list
|
|
139
|
-
* @response `200` `
|
|
141
|
+
* @response `200` `ResponseMsgPageDataJpBatchPayRespVo` OK
|
|
140
142
|
*/
|
|
141
|
-
|
|
143
|
+
batchPayListGet: (query, params = {}) => this.request({
|
|
142
144
|
path: `/transaction/batch-pay/list`,
|
|
143
145
|
method: "GET",
|
|
144
146
|
query: query,
|
|
145
147
|
...params,
|
|
146
148
|
}),
|
|
147
149
|
/**
|
|
148
|
-
*
|
|
150
|
+
* No description
|
|
149
151
|
*
|
|
150
152
|
* @tags 商户交易模块
|
|
151
|
-
* @name
|
|
153
|
+
* @name BatchPayGetGet
|
|
154
|
+
* @summary 获取批付详情
|
|
152
155
|
* @request GET:/transaction/batch-pay/get
|
|
153
|
-
* @response `200` `
|
|
156
|
+
* @response `200` `ResponseMsgListTransferRespVo` OK
|
|
154
157
|
*/
|
|
155
|
-
|
|
158
|
+
batchPayGetGet: (query, params = {}) => this.request({
|
|
156
159
|
path: `/transaction/batch-pay/get`,
|
|
157
160
|
method: "GET",
|
|
158
161
|
query: query,
|
|
@@ -164,12 +167,12 @@ export class Api extends HttpClient {
|
|
|
164
167
|
* No description
|
|
165
168
|
*
|
|
166
169
|
* @tags 商户模块
|
|
167
|
-
* @name
|
|
170
|
+
* @name CreatePost
|
|
168
171
|
* @summary 创建商户
|
|
169
172
|
* @request POST:/merchant/create
|
|
170
173
|
* @response `200` `ResponseMsgMerchantVo` OK
|
|
171
174
|
*/
|
|
172
|
-
|
|
175
|
+
createPost: (data, params = {}) => this.request({
|
|
173
176
|
path: `/merchant/create`,
|
|
174
177
|
method: "POST",
|
|
175
178
|
body: data,
|
|
@@ -180,12 +183,12 @@ export class Api extends HttpClient {
|
|
|
180
183
|
* No description
|
|
181
184
|
*
|
|
182
185
|
* @tags 商户模块
|
|
183
|
-
* @name
|
|
186
|
+
* @name BalanceUpdatePost
|
|
184
187
|
* @summary 修改商户余额
|
|
185
188
|
* @request POST:/merchant/balance/update
|
|
186
189
|
* @response `200` `ResponseMsgString` OK
|
|
187
190
|
*/
|
|
188
|
-
|
|
191
|
+
balanceUpdatePost: (data, params = {}) => this.request({
|
|
189
192
|
path: `/merchant/balance/update`,
|
|
190
193
|
method: "POST",
|
|
191
194
|
body: data,
|
|
@@ -196,12 +199,12 @@ export class Api extends HttpClient {
|
|
|
196
199
|
* No description
|
|
197
200
|
*
|
|
198
201
|
* @tags 商户管理员模块
|
|
199
|
-
* @name
|
|
202
|
+
* @name AdminUpdatePost
|
|
200
203
|
* @summary 修改商户管理员信息
|
|
201
204
|
* @request POST:/merchant/admin/update
|
|
202
205
|
* @response `200` `ResponseMsgObject` OK
|
|
203
206
|
*/
|
|
204
|
-
|
|
207
|
+
adminUpdatePost: (query, params = {}) => this.request({
|
|
205
208
|
path: `/merchant/admin/update`,
|
|
206
209
|
method: "POST",
|
|
207
210
|
query: query,
|
|
@@ -211,12 +214,12 @@ export class Api extends HttpClient {
|
|
|
211
214
|
* No description
|
|
212
215
|
*
|
|
213
216
|
* @tags 商户管理员模块
|
|
214
|
-
* @name
|
|
217
|
+
* @name AdminUpdatePhonePost
|
|
215
218
|
* @summary 修改商户管理员手机号
|
|
216
219
|
* @request POST:/merchant/admin/update/phone
|
|
217
220
|
* @response `200` `ResponseMsgString` OK
|
|
218
221
|
*/
|
|
219
|
-
|
|
222
|
+
adminUpdatePhonePost: (data, params = {}) => this.request({
|
|
220
223
|
path: `/merchant/admin/update/phone`,
|
|
221
224
|
method: "POST",
|
|
222
225
|
body: data,
|
|
@@ -227,12 +230,12 @@ export class Api extends HttpClient {
|
|
|
227
230
|
* @description 登出当前登录的商户管理员
|
|
228
231
|
*
|
|
229
232
|
* @tags 商户管理员模块
|
|
230
|
-
* @name
|
|
233
|
+
* @name AdminLogoutPost
|
|
231
234
|
* @summary 登出
|
|
232
235
|
* @request POST:/merchant/admin/logout
|
|
233
236
|
* @response `200` `ResponseMsgString` OK
|
|
234
237
|
*/
|
|
235
|
-
|
|
238
|
+
adminLogoutPost: (params = {}) => this.request({
|
|
236
239
|
path: `/merchant/admin/logout`,
|
|
237
240
|
method: "POST",
|
|
238
241
|
...params,
|
|
@@ -241,12 +244,12 @@ export class Api extends HttpClient {
|
|
|
241
244
|
* No description
|
|
242
245
|
*
|
|
243
246
|
* @tags 商户管理员模块
|
|
244
|
-
* @name
|
|
247
|
+
* @name AdminLoginPhonePost
|
|
245
248
|
* @summary 登录
|
|
246
249
|
* @request POST:/merchant/admin/login/phone
|
|
247
250
|
* @response `200` `ResponseMsgMerchantLoginRespVo` OK
|
|
248
251
|
*/
|
|
249
|
-
|
|
252
|
+
adminLoginPhonePost: (data, params = {}) => this.request({
|
|
250
253
|
path: `/merchant/admin/login/phone`,
|
|
251
254
|
method: "POST",
|
|
252
255
|
body: data,
|
|
@@ -257,12 +260,12 @@ export class Api extends HttpClient {
|
|
|
257
260
|
* No description
|
|
258
261
|
*
|
|
259
262
|
* @tags 商户管理员模块
|
|
260
|
-
* @name
|
|
263
|
+
* @name AdminCreatePost
|
|
261
264
|
* @summary 创建商户管理员
|
|
262
265
|
* @request POST:/merchant/admin/create
|
|
263
266
|
* @response `200` `ResponseMsgMerchantAdminVo` OK
|
|
264
267
|
*/
|
|
265
|
-
|
|
268
|
+
adminCreatePost: (data, params = {}) => this.request({
|
|
266
269
|
path: `/merchant/admin/create`,
|
|
267
270
|
method: "POST",
|
|
268
271
|
body: data,
|
|
@@ -273,12 +276,12 @@ export class Api extends HttpClient {
|
|
|
273
276
|
* No description
|
|
274
277
|
*
|
|
275
278
|
* @tags 商户模块
|
|
276
|
-
* @name
|
|
279
|
+
* @name ListGet
|
|
277
280
|
* @summary 获取商户列表
|
|
278
281
|
* @request GET:/merchant/list
|
|
279
282
|
* @response `200` `ResponseMsgPageDataMerchantVo` OK
|
|
280
283
|
*/
|
|
281
|
-
|
|
284
|
+
listGet: (query, params = {}) => this.request({
|
|
282
285
|
path: `/merchant/list`,
|
|
283
286
|
method: "GET",
|
|
284
287
|
query: query,
|
|
@@ -288,12 +291,12 @@ export class Api extends HttpClient {
|
|
|
288
291
|
* No description
|
|
289
292
|
*
|
|
290
293
|
* @tags 商户模块
|
|
291
|
-
* @name
|
|
294
|
+
* @name GetGet
|
|
292
295
|
* @summary 获取商户信息 (指定获取需要权限)
|
|
293
296
|
* @request GET:/merchant/get
|
|
294
297
|
* @response `200` `ResponseMsgMerchantVo` OK
|
|
295
298
|
*/
|
|
296
|
-
|
|
299
|
+
getGet: (query, params = {}) => this.request({
|
|
297
300
|
path: `/merchant/get`,
|
|
298
301
|
method: "GET",
|
|
299
302
|
query: query,
|
|
@@ -303,12 +306,12 @@ export class Api extends HttpClient {
|
|
|
303
306
|
* No description
|
|
304
307
|
*
|
|
305
308
|
* @tags 商户模块
|
|
306
|
-
* @name
|
|
309
|
+
* @name BalanceLogGetGet
|
|
307
310
|
* @summary 获取商户余额变动记录
|
|
308
311
|
* @request GET:/merchant/balance/log/get
|
|
309
312
|
* @response `200` `ResponseMsgPageDataMerchantBalanceLogRespVo` OK
|
|
310
313
|
*/
|
|
311
|
-
|
|
314
|
+
balanceLogGetGet: (query, params = {}) => this.request({
|
|
312
315
|
path: `/merchant/balance/log/get`,
|
|
313
316
|
method: "GET",
|
|
314
317
|
query: query,
|
|
@@ -318,12 +321,12 @@ export class Api extends HttpClient {
|
|
|
318
321
|
* No description
|
|
319
322
|
*
|
|
320
323
|
* @tags 商户管理员模块
|
|
321
|
-
* @name
|
|
324
|
+
* @name AdminListGet
|
|
322
325
|
* @summary 获取商户管理员列表
|
|
323
326
|
* @request GET:/merchant/admin/list
|
|
324
327
|
* @response `200` `ResponseMsgPageDataMerchantAdminVo` OK
|
|
325
328
|
*/
|
|
326
|
-
|
|
329
|
+
adminListGet: (query, params = {}) => this.request({
|
|
327
330
|
path: `/merchant/admin/list`,
|
|
328
331
|
method: "GET",
|
|
329
332
|
query: query,
|
|
@@ -333,12 +336,12 @@ export class Api extends HttpClient {
|
|
|
333
336
|
* No description
|
|
334
337
|
*
|
|
335
338
|
* @tags 商户管理员模块
|
|
336
|
-
* @name
|
|
339
|
+
* @name AdminGetGet
|
|
337
340
|
* @summary 获取商户管理员信息
|
|
338
341
|
* @request GET:/merchant/admin/get
|
|
339
342
|
* @response `200` `ResponseMsgMerchantAdminVo` OK
|
|
340
343
|
*/
|
|
341
|
-
|
|
344
|
+
adminGetGet: (query, params = {}) => this.request({
|
|
342
345
|
path: `/merchant/admin/get`,
|
|
343
346
|
method: "GET",
|
|
344
347
|
query: query,
|
|
@@ -350,12 +353,12 @@ export class Api extends HttpClient {
|
|
|
350
353
|
* @description 平台与分账方之间转账
|
|
351
354
|
*
|
|
352
355
|
* @tags 汇聚支付-交易模块
|
|
353
|
-
* @name
|
|
356
|
+
* @name TransactionTransferLaunchPost
|
|
354
357
|
* @summary 发起转账
|
|
355
358
|
* @request POST:/joinpay/transaction/transfer/launch
|
|
356
359
|
* @response `200` `ResponseMsgJpTransferRespVo` OK
|
|
357
360
|
*/
|
|
358
|
-
|
|
361
|
+
transactionTransferLaunchPost: (data, params = {}) => this.request({
|
|
359
362
|
path: `/joinpay/transaction/transfer/launch`,
|
|
360
363
|
method: "POST",
|
|
361
364
|
body: data,
|
|
@@ -366,12 +369,12 @@ export class Api extends HttpClient {
|
|
|
366
369
|
* @description 平台转账至银行卡
|
|
367
370
|
*
|
|
368
371
|
* @tags 汇聚支付-交易模块
|
|
369
|
-
* @name
|
|
372
|
+
* @name TransactionBatchPayLaunchPost
|
|
370
373
|
* @summary 发起批量代付
|
|
371
374
|
* @request POST:/joinpay/transaction/batch-pay/launch
|
|
372
375
|
* @response `200` `ResponseMsgJpBatchPayRespVo` OK
|
|
373
376
|
*/
|
|
374
|
-
|
|
377
|
+
transactionBatchPayLaunchPost: (data, params = {}) => this.request({
|
|
375
378
|
path: `/joinpay/transaction/batch-pay/launch`,
|
|
376
379
|
method: "POST",
|
|
377
380
|
body: data,
|
|
@@ -382,12 +385,12 @@ export class Api extends HttpClient {
|
|
|
382
385
|
* No description
|
|
383
386
|
*
|
|
384
387
|
* @tags 汇聚支付-交易模块
|
|
385
|
-
* @name
|
|
388
|
+
* @name TransactionTransferListGet
|
|
386
389
|
* @summary 获取交易明细列表
|
|
387
390
|
* @request GET:/joinpay/transaction/transfer/list
|
|
388
391
|
* @response `200` `ResponseMsgPageDataJpTransferRespVo` OK
|
|
389
392
|
*/
|
|
390
|
-
|
|
393
|
+
transactionTransferListGet: (query, params = {}) => this.request({
|
|
391
394
|
path: `/joinpay/transaction/transfer/list`,
|
|
392
395
|
method: "GET",
|
|
393
396
|
query: query,
|
|
@@ -397,12 +400,12 @@ export class Api extends HttpClient {
|
|
|
397
400
|
* No description
|
|
398
401
|
*
|
|
399
402
|
* @tags 汇聚支付-交易模块
|
|
400
|
-
* @name
|
|
403
|
+
* @name TransactionTransferGetGet
|
|
401
404
|
* @summary 通过交易明细Id,获取交易明细详情
|
|
402
405
|
* @request GET:/joinpay/transaction/transfer/get
|
|
403
406
|
* @response `200` `ResponseMsgJpTransferRespVo` OK
|
|
404
407
|
*/
|
|
405
|
-
|
|
408
|
+
transactionTransferGetGet: (query, params = {}) => this.request({
|
|
406
409
|
path: `/joinpay/transaction/transfer/get`,
|
|
407
410
|
method: "GET",
|
|
408
411
|
query: query,
|
|
@@ -412,12 +415,12 @@ export class Api extends HttpClient {
|
|
|
412
415
|
* No description
|
|
413
416
|
*
|
|
414
417
|
* @tags 汇聚支付-交易模块
|
|
415
|
-
* @name
|
|
418
|
+
* @name TransactionBatchPayListGet
|
|
416
419
|
* @summary 获取批量代付列表
|
|
417
420
|
* @request GET:/joinpay/transaction/batch-pay/list
|
|
418
421
|
* @response `200` `ResponseMsgPageDataJpBatchPayRespVo` OK
|
|
419
422
|
*/
|
|
420
|
-
|
|
423
|
+
transactionBatchPayListGet: (query, params = {}) => this.request({
|
|
421
424
|
path: `/joinpay/transaction/batch-pay/list`,
|
|
422
425
|
method: "GET",
|
|
423
426
|
query: query,
|
|
@@ -427,12 +430,12 @@ export class Api extends HttpClient {
|
|
|
427
430
|
* No description
|
|
428
431
|
*
|
|
429
432
|
* @tags 汇聚支付-交易模块
|
|
430
|
-
* @name
|
|
433
|
+
* @name TransactionBatchPayGetGet
|
|
431
434
|
* @summary 获取批量代付详情
|
|
432
435
|
* @request GET:/joinpay/transaction/batch-pay/get
|
|
433
436
|
* @response `200` `ResponseMsgJpBatchPayRespVo` OK
|
|
434
437
|
*/
|
|
435
|
-
|
|
438
|
+
transactionBatchPayGetGet: (query, params = {}) => this.request({
|
|
436
439
|
path: `/joinpay/transaction/batch-pay/get`,
|
|
437
440
|
method: "GET",
|
|
438
441
|
query: query,
|
|
@@ -442,12 +445,12 @@ export class Api extends HttpClient {
|
|
|
442
445
|
* No description
|
|
443
446
|
*
|
|
444
447
|
* @tags 汇聚支付-商户模块
|
|
445
|
-
* @name
|
|
448
|
+
* @name MerchantListGet
|
|
446
449
|
* @summary 获取商户分页
|
|
447
450
|
* @request GET:/joinpay/merchant/list
|
|
448
451
|
* @response `200` `ResponseMsgPageDataJpMerchantRespVo` OK
|
|
449
452
|
*/
|
|
450
|
-
|
|
453
|
+
merchantListGet: (query, params = {}) => this.request({
|
|
451
454
|
path: `/joinpay/merchant/list`,
|
|
452
455
|
method: "GET",
|
|
453
456
|
query: query,
|
|
@@ -459,28 +462,26 @@ export class Api extends HttpClient {
|
|
|
459
462
|
* No description
|
|
460
463
|
*
|
|
461
464
|
* @tags 凯聚通API模块
|
|
462
|
-
* @name
|
|
463
|
-
* @request POST:/external/sign
|
|
464
|
-
* @response `200` `
|
|
465
|
+
* @name V1SignPost
|
|
466
|
+
* @request POST:/external/v1/sign
|
|
467
|
+
* @response `200` `ResponseMsgExternalReqVo` OK
|
|
465
468
|
*/
|
|
466
|
-
|
|
467
|
-
path: `/external/sign`,
|
|
469
|
+
v1SignPost: (params = {}) => this.request({
|
|
470
|
+
path: `/external/v1/sign`,
|
|
468
471
|
method: "POST",
|
|
469
|
-
body: data,
|
|
470
|
-
type: ContentType.Json,
|
|
471
472
|
...params,
|
|
472
473
|
}),
|
|
473
474
|
/**
|
|
474
475
|
* No description
|
|
475
476
|
*
|
|
476
477
|
* @tags 凯聚通API模块
|
|
477
|
-
* @name
|
|
478
|
+
* @name V1InvokePost
|
|
478
479
|
* @summary 统一入口
|
|
479
|
-
* @request POST:/external/invoke
|
|
480
|
+
* @request POST:/external/v1/invoke
|
|
480
481
|
* @response `200` `ResponseMsgObject` OK
|
|
481
482
|
*/
|
|
482
|
-
|
|
483
|
-
path: `/external/invoke`,
|
|
483
|
+
v1InvokePost: (data, params = {}) => this.request({
|
|
484
|
+
path: `/external/v1/invoke`,
|
|
484
485
|
method: "POST",
|
|
485
486
|
body: data,
|
|
486
487
|
type: ContentType.Json,
|
|
@@ -492,12 +493,12 @@ export class Api extends HttpClient {
|
|
|
492
493
|
* @description 5分钟内有效
|
|
493
494
|
*
|
|
494
495
|
* @tags 验证码模块
|
|
495
|
-
* @name
|
|
496
|
+
* @name SmsPost
|
|
496
497
|
* @summary 发送短信验证码
|
|
497
498
|
* @request POST:/captcha/sms
|
|
498
499
|
* @response `200` `ResponseMsgCaptchaSmsSendRespVo` OK
|
|
499
500
|
*/
|
|
500
|
-
|
|
501
|
+
smsPost: (data, params = {}) => this.request({
|
|
501
502
|
path: `/captcha/sms`,
|
|
502
503
|
method: "POST",
|
|
503
504
|
body: data,
|
|
@@ -508,12 +509,12 @@ export class Api extends HttpClient {
|
|
|
508
509
|
* @description 5分钟内有效
|
|
509
510
|
*
|
|
510
511
|
* @tags 验证码模块
|
|
511
|
-
* @name
|
|
512
|
+
* @name ImageGenerateGet
|
|
512
513
|
* @summary 生成图像验证码
|
|
513
514
|
* @request GET:/captcha/image/generate
|
|
514
515
|
* @response `200` `ResponseMsgCaptchaImageVo` OK
|
|
515
516
|
*/
|
|
516
|
-
|
|
517
|
+
imageGenerateGet: (params = {}) => this.request({
|
|
517
518
|
path: `/captcha/image/generate`,
|
|
518
519
|
method: "GET",
|
|
519
520
|
...params,
|
|
@@ -524,12 +525,12 @@ export class Api extends HttpClient {
|
|
|
524
525
|
* No description
|
|
525
526
|
*
|
|
526
527
|
* @tags 管理员模块
|
|
527
|
-
* @name
|
|
528
|
+
* @name UpdatePost
|
|
528
529
|
* @summary 更新管理员信息
|
|
529
530
|
* @request POST:/admin/update
|
|
530
531
|
* @response `200` `ResponseMsgObject` OK
|
|
531
532
|
*/
|
|
532
|
-
|
|
533
|
+
updatePost: (data, params = {}) => this.request({
|
|
533
534
|
path: `/admin/update`,
|
|
534
535
|
method: "POST",
|
|
535
536
|
body: data,
|
|
@@ -540,12 +541,12 @@ export class Api extends HttpClient {
|
|
|
540
541
|
* No description
|
|
541
542
|
*
|
|
542
543
|
* @tags 管理员模块
|
|
543
|
-
* @name
|
|
544
|
+
* @name UpdatePhonePost
|
|
544
545
|
* @summary 修改手机号码
|
|
545
546
|
* @request POST:/admin/update/phone
|
|
546
547
|
* @response `200` `ResponseMsgString` OK
|
|
547
548
|
*/
|
|
548
|
-
|
|
549
|
+
updatePhonePost: (data, params = {}) => this.request({
|
|
549
550
|
path: `/admin/update/phone`,
|
|
550
551
|
method: "POST",
|
|
551
552
|
body: data,
|
|
@@ -556,12 +557,12 @@ export class Api extends HttpClient {
|
|
|
556
557
|
* @description 登出当前登录的管理员
|
|
557
558
|
*
|
|
558
559
|
* @tags 管理员模块
|
|
559
|
-
* @name
|
|
560
|
+
* @name LogoutPost
|
|
560
561
|
* @summary 登出
|
|
561
562
|
* @request POST:/admin/logout
|
|
562
563
|
* @response `200` `ResponseMsgString` OK
|
|
563
564
|
*/
|
|
564
|
-
|
|
565
|
+
logoutPost: (params = {}) => this.request({
|
|
565
566
|
path: `/admin/logout`,
|
|
566
567
|
method: "POST",
|
|
567
568
|
...params,
|
|
@@ -570,12 +571,12 @@ export class Api extends HttpClient {
|
|
|
570
571
|
* No description
|
|
571
572
|
*
|
|
572
573
|
* @tags 管理员模块
|
|
573
|
-
* @name
|
|
574
|
+
* @name LoginPhonePost
|
|
574
575
|
* @summary 通过手机验证登录
|
|
575
576
|
* @request POST:/admin/login/phone
|
|
576
577
|
* @response `200` `ResponseMsgAdminLoginRespVo` OK
|
|
577
578
|
*/
|
|
578
|
-
|
|
579
|
+
loginPhonePost: (data, params = {}) => this.request({
|
|
579
580
|
path: `/admin/login/phone`,
|
|
580
581
|
method: "POST",
|
|
581
582
|
body: data,
|
|
@@ -586,12 +587,12 @@ export class Api extends HttpClient {
|
|
|
586
587
|
* No description
|
|
587
588
|
*
|
|
588
589
|
* @tags 管理员模块
|
|
589
|
-
* @name
|
|
590
|
+
* @name DeletePost
|
|
590
591
|
* @summary 删除管理员(软删除)
|
|
591
592
|
* @request POST:/admin/delete
|
|
592
593
|
* @response `200` `ResponseMsgObject` OK
|
|
593
594
|
*/
|
|
594
|
-
|
|
595
|
+
deletePost: (query, params = {}) => this.request({
|
|
595
596
|
path: `/admin/delete`,
|
|
596
597
|
method: "POST",
|
|
597
598
|
query: query,
|
|
@@ -601,12 +602,12 @@ export class Api extends HttpClient {
|
|
|
601
602
|
* No description
|
|
602
603
|
*
|
|
603
604
|
* @tags 管理员模块
|
|
604
|
-
* @name
|
|
605
|
+
* @name CreatePost
|
|
605
606
|
* @summary 创建管理员
|
|
606
607
|
* @request POST:/admin/create
|
|
607
608
|
* @response `200` `ResponseMsgAdminVo` OK
|
|
608
609
|
*/
|
|
609
|
-
|
|
610
|
+
createPost: (data, params = {}) => this.request({
|
|
610
611
|
path: `/admin/create`,
|
|
611
612
|
method: "POST",
|
|
612
613
|
body: data,
|
|
@@ -617,12 +618,12 @@ export class Api extends HttpClient {
|
|
|
617
618
|
* No description
|
|
618
619
|
*
|
|
619
620
|
* @tags 管理员模块
|
|
620
|
-
* @name
|
|
621
|
+
* @name ListGet
|
|
621
622
|
* @summary 获取管理员列表
|
|
622
623
|
* @request GET:/admin/list
|
|
623
624
|
* @response `200` `ResponseMsgPageDataAdminVo` OK
|
|
624
625
|
*/
|
|
625
|
-
|
|
626
|
+
listGet: (query, params = {}) => this.request({
|
|
626
627
|
path: `/admin/list`,
|
|
627
628
|
method: "GET",
|
|
628
629
|
query: query,
|
|
@@ -632,12 +633,12 @@ export class Api extends HttpClient {
|
|
|
632
633
|
* No description
|
|
633
634
|
*
|
|
634
635
|
* @tags 管理员模块
|
|
635
|
-
* @name
|
|
636
|
+
* @name GetGet
|
|
636
637
|
* @summary 获取指定管理员信息
|
|
637
638
|
* @request GET:/admin/get
|
|
638
639
|
* @response `200` `ResponseMsgAdminVo` OK
|
|
639
640
|
*/
|
|
640
|
-
|
|
641
|
+
getGet: (query, params = {}) => this.request({
|
|
641
642
|
path: `/admin/get`,
|
|
642
643
|
method: "GET",
|
|
643
644
|
query: query,
|
|
@@ -649,12 +650,12 @@ export class Api extends HttpClient {
|
|
|
649
650
|
* No description
|
|
650
651
|
*
|
|
651
652
|
* @tags 通用模块
|
|
652
|
-
* @name
|
|
653
|
+
* @name EnumListGet
|
|
653
654
|
* @summary 获取枚举列表,多个请用,隔开
|
|
654
655
|
* @request GET:/common/enum/list
|
|
655
656
|
* @response `200` `ResponseMsgListEnumVo` OK
|
|
656
657
|
*/
|
|
657
|
-
|
|
658
|
+
enumListGet: (query, params = {}) => this.request({
|
|
658
659
|
path: `/common/enum/list`,
|
|
659
660
|
method: "GET",
|
|
660
661
|
query: query,
|