@fxri/swagger2api 1.0.9 → 1.0.10
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/.swaggerrc +1 -1
- package/README.md +26 -6
- package/dist/api/ParsonnelAdmin.d.ts +8674 -0
- package/dist/api/ParsonnelAdmin.js +4105 -0
- package/dist/api/index.d.ts +22886 -1219
- package/dist/api/index.js +15389 -383
- package/dist/api/kjt.d.ts +1576 -0
- package/dist/api/kjt.js +664 -0
- package/dist/api/kqtmg.d.ts +56119 -0
- package/dist/api/kqtmg.js +39441 -0
- package/dist/index.js +22 -14
- package/dist/utils/common.d.ts +3 -1
- package/dist/utils/common.js +24 -4
- package/package.json +3 -2
|
@@ -0,0 +1,1576 @@
|
|
|
1
|
+
/** 明细详情 */
|
|
2
|
+
export interface BatchPayLaunchDetailVo {
|
|
3
|
+
/** 类型 */
|
|
4
|
+
type: "0" | "1" | "2";
|
|
5
|
+
/** 收款人银行卡卡号 */
|
|
6
|
+
receiverAccount: string;
|
|
7
|
+
/** 收款人 */
|
|
8
|
+
receiverName: string;
|
|
9
|
+
/**
|
|
10
|
+
* 交易金额,单位:元,保留2位小数
|
|
11
|
+
* @min 0.01
|
|
12
|
+
* @exclusiveMin false
|
|
13
|
+
* @max 1
|
|
14
|
+
* @exclusiveMax false
|
|
15
|
+
*/
|
|
16
|
+
amount: number;
|
|
17
|
+
}
|
|
18
|
+
export interface BatchPayLaunchReqVo {
|
|
19
|
+
/** 批次号,25位随机字符串,不传时内部自动生成 */
|
|
20
|
+
batchNo?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 商户id(默认为登录的商户,其他商户需要权限)
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
mchId?: number;
|
|
26
|
+
/** 明细详情 */
|
|
27
|
+
details?: BatchPayLaunchDetailVo[];
|
|
28
|
+
}
|
|
29
|
+
/** 返回数据 */
|
|
30
|
+
export interface BatchPayLaunchRespVo {
|
|
31
|
+
/** 批次号 */
|
|
32
|
+
batchNo?: string;
|
|
33
|
+
}
|
|
34
|
+
/** 响应报文 */
|
|
35
|
+
export interface ResponseMsgBatchPayLaunchRespVo {
|
|
36
|
+
/**
|
|
37
|
+
* 状态码
|
|
38
|
+
* @format int32
|
|
39
|
+
*/
|
|
40
|
+
code?: number;
|
|
41
|
+
/** 错误提示 */
|
|
42
|
+
msg?: string;
|
|
43
|
+
/** 返回数据 */
|
|
44
|
+
data?: BatchPayLaunchRespVo;
|
|
45
|
+
}
|
|
46
|
+
/** 商户创建 */
|
|
47
|
+
export interface MerchantCreateReqVo {
|
|
48
|
+
/** 商户名称 */
|
|
49
|
+
name: string;
|
|
50
|
+
}
|
|
51
|
+
/** 商户列表 */
|
|
52
|
+
export interface MerchantVo {
|
|
53
|
+
/**
|
|
54
|
+
* 商户id
|
|
55
|
+
* @format int64
|
|
56
|
+
*/
|
|
57
|
+
id?: number;
|
|
58
|
+
/** 商户名称 */
|
|
59
|
+
name?: string;
|
|
60
|
+
/** 余额 */
|
|
61
|
+
balance?: number;
|
|
62
|
+
/**
|
|
63
|
+
* 创建时间
|
|
64
|
+
* @format date-time
|
|
65
|
+
*/
|
|
66
|
+
createdAt?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 最后更新时间
|
|
69
|
+
* @format date-time
|
|
70
|
+
*/
|
|
71
|
+
updatedAt?: string;
|
|
72
|
+
/** 状态 */
|
|
73
|
+
status?: "0" | "1" | "2";
|
|
74
|
+
}
|
|
75
|
+
/** 响应报文 */
|
|
76
|
+
export interface ResponseMsgMerchantVo {
|
|
77
|
+
/**
|
|
78
|
+
* 状态码
|
|
79
|
+
* @format int32
|
|
80
|
+
*/
|
|
81
|
+
code?: number;
|
|
82
|
+
/** 错误提示 */
|
|
83
|
+
msg?: string;
|
|
84
|
+
/** 商户列表 */
|
|
85
|
+
data?: MerchantVo;
|
|
86
|
+
}
|
|
87
|
+
/** 商户 - 修改 */
|
|
88
|
+
export interface MerchantBalanceUpdateReqVo {
|
|
89
|
+
/**
|
|
90
|
+
* 商户id
|
|
91
|
+
* @format int64
|
|
92
|
+
*/
|
|
93
|
+
mchId: number;
|
|
94
|
+
/** 变动金额 */
|
|
95
|
+
amount: number;
|
|
96
|
+
/** 变动说明 */
|
|
97
|
+
description: string;
|
|
98
|
+
}
|
|
99
|
+
/** 响应报文 */
|
|
100
|
+
export interface ResponseMsgString {
|
|
101
|
+
/**
|
|
102
|
+
* 状态码
|
|
103
|
+
* @format int32
|
|
104
|
+
*/
|
|
105
|
+
code?: number;
|
|
106
|
+
/** 错误提示 */
|
|
107
|
+
msg?: string;
|
|
108
|
+
/** 返回数据 */
|
|
109
|
+
data?: string;
|
|
110
|
+
}
|
|
111
|
+
/** 更新商户管理员信息 */
|
|
112
|
+
export interface MerchantAdminUpdateReqVo {
|
|
113
|
+
/**
|
|
114
|
+
* 商户管理员id(不填时为自己,修改他人需要额外权限)
|
|
115
|
+
* @format int64
|
|
116
|
+
*/
|
|
117
|
+
id?: number;
|
|
118
|
+
/** 商户管理员名称 */
|
|
119
|
+
name?: string;
|
|
120
|
+
/** 手机号(仅修改他人可用) */
|
|
121
|
+
phone?: string;
|
|
122
|
+
/** 账号状态(仅修改他人可用) */
|
|
123
|
+
status?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8";
|
|
124
|
+
}
|
|
125
|
+
/** 响应报文 */
|
|
126
|
+
export interface ResponseMsgObject {
|
|
127
|
+
/**
|
|
128
|
+
* 状态码
|
|
129
|
+
* @format int32
|
|
130
|
+
*/
|
|
131
|
+
code?: number;
|
|
132
|
+
/** 错误提示 */
|
|
133
|
+
msg?: string;
|
|
134
|
+
/** 返回数据 */
|
|
135
|
+
data?: object;
|
|
136
|
+
}
|
|
137
|
+
export interface MerchantAdminUpdatePhoneReqVo {
|
|
138
|
+
/** 新手机号码 */
|
|
139
|
+
phone?: string;
|
|
140
|
+
/** 短信验证码Key */
|
|
141
|
+
captchaKey: string;
|
|
142
|
+
/** 短信验证码 */
|
|
143
|
+
captchaCode: string;
|
|
144
|
+
}
|
|
145
|
+
/** 商户登录 */
|
|
146
|
+
export interface MerchantLoginPhoneReqVo {
|
|
147
|
+
/** 手机号码 */
|
|
148
|
+
phone: string;
|
|
149
|
+
/** 短信验证码Key */
|
|
150
|
+
captchaKey: string;
|
|
151
|
+
/** 短信验证码 */
|
|
152
|
+
captchaCode: string;
|
|
153
|
+
}
|
|
154
|
+
/** 管理员信息 */
|
|
155
|
+
export interface MerchantAdminVo {
|
|
156
|
+
/**
|
|
157
|
+
* 商户管理员id
|
|
158
|
+
* @format int64
|
|
159
|
+
*/
|
|
160
|
+
id?: number;
|
|
161
|
+
/**
|
|
162
|
+
* 关联的商户id
|
|
163
|
+
* @format int64
|
|
164
|
+
*/
|
|
165
|
+
mchId?: number;
|
|
166
|
+
/** 管理员名称 */
|
|
167
|
+
name?: string;
|
|
168
|
+
/** 描述 */
|
|
169
|
+
description?: string;
|
|
170
|
+
/** 状态 */
|
|
171
|
+
status?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8";
|
|
172
|
+
/**
|
|
173
|
+
* 创建时间
|
|
174
|
+
* @format date-time
|
|
175
|
+
*/
|
|
176
|
+
createdAt?: string;
|
|
177
|
+
/**
|
|
178
|
+
* 最后更新时间
|
|
179
|
+
* @format date-time
|
|
180
|
+
*/
|
|
181
|
+
updatedAt?: string;
|
|
182
|
+
}
|
|
183
|
+
/** 商户管理员登录 返回响应 */
|
|
184
|
+
export interface MerchantLoginRespVo {
|
|
185
|
+
/** 登录token */
|
|
186
|
+
token?: string;
|
|
187
|
+
/** 管理员信息 */
|
|
188
|
+
info?: MerchantAdminVo;
|
|
189
|
+
}
|
|
190
|
+
/** 响应报文 */
|
|
191
|
+
export interface ResponseMsgMerchantLoginRespVo {
|
|
192
|
+
/**
|
|
193
|
+
* 状态码
|
|
194
|
+
* @format int32
|
|
195
|
+
*/
|
|
196
|
+
code?: number;
|
|
197
|
+
/** 错误提示 */
|
|
198
|
+
msg?: string;
|
|
199
|
+
/** 商户管理员登录 返回响应 */
|
|
200
|
+
data?: MerchantLoginRespVo;
|
|
201
|
+
}
|
|
202
|
+
/** 创建商户管理员 */
|
|
203
|
+
export interface MerchantAdminCreateReqVo {
|
|
204
|
+
/**
|
|
205
|
+
* 关联的商户id(不传为自己商户,创建其他商户管理员需要权限)
|
|
206
|
+
* @format int64
|
|
207
|
+
*/
|
|
208
|
+
mchId?: number;
|
|
209
|
+
/** 商户管理员名称 */
|
|
210
|
+
name: string;
|
|
211
|
+
/** 商户管理员描述 */
|
|
212
|
+
description?: string;
|
|
213
|
+
/** 商户管理员手机号 */
|
|
214
|
+
phone: string;
|
|
215
|
+
}
|
|
216
|
+
/** 响应报文 */
|
|
217
|
+
export interface ResponseMsgMerchantAdminVo {
|
|
218
|
+
/**
|
|
219
|
+
* 状态码
|
|
220
|
+
* @format int32
|
|
221
|
+
*/
|
|
222
|
+
code?: number;
|
|
223
|
+
/** 错误提示 */
|
|
224
|
+
msg?: string;
|
|
225
|
+
/** 管理员信息 */
|
|
226
|
+
data?: MerchantAdminVo;
|
|
227
|
+
}
|
|
228
|
+
/** 汇聚支付- 转账发起请求 */
|
|
229
|
+
export interface JpTransferLaunchReqVo {
|
|
230
|
+
/** 订单号,25位随机字符串,不传时内部自动生成 */
|
|
231
|
+
orderNo?: string;
|
|
232
|
+
/** 转账类型 */
|
|
233
|
+
type: "0" | "10" | "11" | "12" | "20" | "21";
|
|
234
|
+
/** 发起方 */
|
|
235
|
+
sourceMchNo: string;
|
|
236
|
+
/** 接收方 */
|
|
237
|
+
targetMchNo: string;
|
|
238
|
+
/**
|
|
239
|
+
* 金额,单位元,精确2位小数
|
|
240
|
+
* @min 0.01
|
|
241
|
+
* @exclusiveMin false
|
|
242
|
+
*/
|
|
243
|
+
amount: number;
|
|
244
|
+
}
|
|
245
|
+
/** 转账流水 */
|
|
246
|
+
export interface JpTransferRespVo {
|
|
247
|
+
/**
|
|
248
|
+
* 转账id
|
|
249
|
+
* @format int64
|
|
250
|
+
*/
|
|
251
|
+
id?: number;
|
|
252
|
+
/**
|
|
253
|
+
* 商户号
|
|
254
|
+
* @format int64
|
|
255
|
+
*/
|
|
256
|
+
mchNo?: number;
|
|
257
|
+
/** 订单号 */
|
|
258
|
+
orderNo?: string;
|
|
259
|
+
/** 批次号 */
|
|
260
|
+
batchNo?: string;
|
|
261
|
+
/** 流水号 */
|
|
262
|
+
trxNo?: string;
|
|
263
|
+
/** 转账类型 */
|
|
264
|
+
type?: "0" | "10" | "11" | "12" | "20" | "21";
|
|
265
|
+
/** 金额,不含手续费 */
|
|
266
|
+
amount?: number;
|
|
267
|
+
/** 手续费 */
|
|
268
|
+
fee?: number;
|
|
269
|
+
/** 发方姓名 */
|
|
270
|
+
sourceName?: string;
|
|
271
|
+
/** 发方账户 */
|
|
272
|
+
sourceAccount?: string;
|
|
273
|
+
/** 收方姓名 */
|
|
274
|
+
targetName?: string;
|
|
275
|
+
/** 收方账户 */
|
|
276
|
+
targetAccount?: string;
|
|
277
|
+
/** 回单下载地址 */
|
|
278
|
+
voucherUrl?: string;
|
|
279
|
+
/** 转账备注 */
|
|
280
|
+
remark?: string;
|
|
281
|
+
/** 错误描述 */
|
|
282
|
+
errorDesc?: string;
|
|
283
|
+
/**
|
|
284
|
+
* 创建时间
|
|
285
|
+
* @format date-time
|
|
286
|
+
*/
|
|
287
|
+
createdAt?: string;
|
|
288
|
+
/**
|
|
289
|
+
* 完成时间
|
|
290
|
+
* @format date-time
|
|
291
|
+
*/
|
|
292
|
+
completeAt?: string;
|
|
293
|
+
/** 状态 */
|
|
294
|
+
status?: "0" | "1" | "2" | "3" | "10" | "11";
|
|
295
|
+
}
|
|
296
|
+
/** 响应报文 */
|
|
297
|
+
export interface ResponseMsgJpTransferRespVo {
|
|
298
|
+
/**
|
|
299
|
+
* 状态码
|
|
300
|
+
* @format int32
|
|
301
|
+
*/
|
|
302
|
+
code?: number;
|
|
303
|
+
/** 错误提示 */
|
|
304
|
+
msg?: string;
|
|
305
|
+
/** 转账流水 */
|
|
306
|
+
data?: JpTransferRespVo;
|
|
307
|
+
}
|
|
308
|
+
/** 汇聚支付- 支付明细详情 */
|
|
309
|
+
export interface JpBatchPayDetail {
|
|
310
|
+
/** 类型 */
|
|
311
|
+
type: "0" | "10" | "11" | "12" | "20" | "21";
|
|
312
|
+
/** 收款人银行卡卡号 */
|
|
313
|
+
receiverAccount: string;
|
|
314
|
+
/** 收款人 */
|
|
315
|
+
receiverName: string;
|
|
316
|
+
/**
|
|
317
|
+
* 交易金额,单位:元,保留2位小数
|
|
318
|
+
* @min 0.01
|
|
319
|
+
* @exclusiveMin false
|
|
320
|
+
* @max 1
|
|
321
|
+
* @exclusiveMax false
|
|
322
|
+
*/
|
|
323
|
+
amount: number;
|
|
324
|
+
}
|
|
325
|
+
/** 汇聚支付- 批量代付发起请求 */
|
|
326
|
+
export interface JpBatchPayLaunchRequest {
|
|
327
|
+
/** 批次号,25位随机字符串,不传时内部自动生成 */
|
|
328
|
+
batchNo?: string;
|
|
329
|
+
/** 付款商户号 */
|
|
330
|
+
sourceMchNo?: string;
|
|
331
|
+
/** 明细数据 */
|
|
332
|
+
details: JpBatchPayDetail[];
|
|
333
|
+
}
|
|
334
|
+
/** 汇聚支付- 批量代付结果响应 */
|
|
335
|
+
export interface JpBatchPayRespVo {
|
|
336
|
+
/**
|
|
337
|
+
* 批量代付id
|
|
338
|
+
* @format int64
|
|
339
|
+
*/
|
|
340
|
+
id?: number;
|
|
341
|
+
/** 批次号 */
|
|
342
|
+
batchNo?: string;
|
|
343
|
+
/**
|
|
344
|
+
* 总笔数
|
|
345
|
+
* @format int64
|
|
346
|
+
*/
|
|
347
|
+
totalCount?: number;
|
|
348
|
+
/** 总金额 */
|
|
349
|
+
totalAmount?: number;
|
|
350
|
+
/**
|
|
351
|
+
* 成功笔数
|
|
352
|
+
* @format int64
|
|
353
|
+
*/
|
|
354
|
+
successCount?: number;
|
|
355
|
+
/** 成功金额 */
|
|
356
|
+
successAmount?: number;
|
|
357
|
+
/**
|
|
358
|
+
* 失败笔数
|
|
359
|
+
* @format int64
|
|
360
|
+
*/
|
|
361
|
+
failCount?: number;
|
|
362
|
+
/** 失败金额 */
|
|
363
|
+
failAmount?: number;
|
|
364
|
+
/** 成功的总手续费 */
|
|
365
|
+
feeSum?: number;
|
|
366
|
+
/** 错误描述 */
|
|
367
|
+
errorDesc?: string;
|
|
368
|
+
/** 状态 */
|
|
369
|
+
status?: "0" | "1" | "2" | "3" | "10" | "11";
|
|
370
|
+
/**
|
|
371
|
+
* 创建时间
|
|
372
|
+
* @format date-time
|
|
373
|
+
*/
|
|
374
|
+
createdAt?: string;
|
|
375
|
+
/**
|
|
376
|
+
* 完成时间,所有明细处理完成
|
|
377
|
+
* @format date-time
|
|
378
|
+
*/
|
|
379
|
+
completeAt?: string;
|
|
380
|
+
}
|
|
381
|
+
/** 响应报文 */
|
|
382
|
+
export interface ResponseMsgJpBatchPayRespVo {
|
|
383
|
+
/**
|
|
384
|
+
* 状态码
|
|
385
|
+
* @format int32
|
|
386
|
+
*/
|
|
387
|
+
code?: number;
|
|
388
|
+
/** 错误提示 */
|
|
389
|
+
msg?: string;
|
|
390
|
+
/** 汇聚支付- 批量代付结果响应 */
|
|
391
|
+
data?: JpBatchPayRespVo;
|
|
392
|
+
}
|
|
393
|
+
export interface ExternalReqVo {
|
|
394
|
+
/** 应用id */
|
|
395
|
+
appId: string;
|
|
396
|
+
/** 随机字符串,推荐UUID */
|
|
397
|
+
nonce: string;
|
|
398
|
+
/**
|
|
399
|
+
* 时间戳,13位毫秒级
|
|
400
|
+
* @format int64
|
|
401
|
+
*/
|
|
402
|
+
timestamp: number;
|
|
403
|
+
/** 签名 */
|
|
404
|
+
sign: string;
|
|
405
|
+
/** 方法名 */
|
|
406
|
+
method: string;
|
|
407
|
+
/** 数据 */
|
|
408
|
+
data?: object;
|
|
409
|
+
}
|
|
410
|
+
/** 验证码 - 短信验证码发送 */
|
|
411
|
+
export interface CaptchaSmsSendReqVo {
|
|
412
|
+
/** 接收验证码的手机号 */
|
|
413
|
+
phone: string;
|
|
414
|
+
/** 图片验证码Key */
|
|
415
|
+
imageKey: string;
|
|
416
|
+
/** 图片验证码值 */
|
|
417
|
+
imageCode: string;
|
|
418
|
+
}
|
|
419
|
+
/** 验证码 - 短信验证码发送 */
|
|
420
|
+
export interface CaptchaSmsSendRespVo {
|
|
421
|
+
/** 接收验证码的手机号 */
|
|
422
|
+
phone: string;
|
|
423
|
+
/** 验证码Key */
|
|
424
|
+
captchaKey: string;
|
|
425
|
+
}
|
|
426
|
+
/** 响应报文 */
|
|
427
|
+
export interface ResponseMsgCaptchaSmsSendRespVo {
|
|
428
|
+
/**
|
|
429
|
+
* 状态码
|
|
430
|
+
* @format int32
|
|
431
|
+
*/
|
|
432
|
+
code?: number;
|
|
433
|
+
/** 错误提示 */
|
|
434
|
+
msg?: string;
|
|
435
|
+
/** 验证码 - 短信验证码发送 */
|
|
436
|
+
data?: CaptchaSmsSendRespVo;
|
|
437
|
+
}
|
|
438
|
+
/** 管理员 - 修改参数 */
|
|
439
|
+
export interface AdminUpdateReqVo {
|
|
440
|
+
/**
|
|
441
|
+
* 管理员id(不填时为自己,修改他人需要额外权限)
|
|
442
|
+
* @format int64
|
|
443
|
+
*/
|
|
444
|
+
id?: number;
|
|
445
|
+
/** 名称 */
|
|
446
|
+
name?: string;
|
|
447
|
+
/** 手机号(仅修改他人可用) */
|
|
448
|
+
phone?: string;
|
|
449
|
+
/** 账户状态(仅修改他人可用) */
|
|
450
|
+
status?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8";
|
|
451
|
+
}
|
|
452
|
+
export interface AdminUpdatePhoneReqVo {
|
|
453
|
+
/** 新手机号码 */
|
|
454
|
+
phone?: string;
|
|
455
|
+
/** 短信验证码Key */
|
|
456
|
+
captchaKey: string;
|
|
457
|
+
/** 短信验证码 */
|
|
458
|
+
captchaCode: string;
|
|
459
|
+
}
|
|
460
|
+
/** 管理员 - 登录参数 */
|
|
461
|
+
export interface AdminLoginReqVo {
|
|
462
|
+
/** 手机号码 */
|
|
463
|
+
phone: string;
|
|
464
|
+
/** 短信验证码Key */
|
|
465
|
+
captchaKey: string;
|
|
466
|
+
/** 短信验证码 */
|
|
467
|
+
captchaCode: string;
|
|
468
|
+
}
|
|
469
|
+
/** 管理员 - 登录请求响应 */
|
|
470
|
+
export interface AdminLoginRespVo {
|
|
471
|
+
/** 登录token */
|
|
472
|
+
token?: string;
|
|
473
|
+
/** 管理员信息 */
|
|
474
|
+
info?: AdminVo;
|
|
475
|
+
}
|
|
476
|
+
/** 管理员信息 */
|
|
477
|
+
export interface AdminVo {
|
|
478
|
+
/**
|
|
479
|
+
* 管理员id
|
|
480
|
+
* @format int64
|
|
481
|
+
*/
|
|
482
|
+
id?: number;
|
|
483
|
+
/** 名称 */
|
|
484
|
+
name?: string;
|
|
485
|
+
/** 手机号码 */
|
|
486
|
+
phone?: string;
|
|
487
|
+
/** 状态 */
|
|
488
|
+
status?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8";
|
|
489
|
+
}
|
|
490
|
+
/** 响应报文 */
|
|
491
|
+
export interface ResponseMsgAdminLoginRespVo {
|
|
492
|
+
/**
|
|
493
|
+
* 状态码
|
|
494
|
+
* @format int32
|
|
495
|
+
*/
|
|
496
|
+
code?: number;
|
|
497
|
+
/** 错误提示 */
|
|
498
|
+
msg?: string;
|
|
499
|
+
/** 管理员 - 登录请求响应 */
|
|
500
|
+
data?: AdminLoginRespVo;
|
|
501
|
+
}
|
|
502
|
+
export interface AdminCreateReqVo {
|
|
503
|
+
/** 管理员名称 */
|
|
504
|
+
name: string;
|
|
505
|
+
/** 描述 */
|
|
506
|
+
description?: string;
|
|
507
|
+
/** 手机号码 */
|
|
508
|
+
phone: string;
|
|
509
|
+
}
|
|
510
|
+
/** 响应报文 */
|
|
511
|
+
export interface ResponseMsgAdminVo {
|
|
512
|
+
/**
|
|
513
|
+
* 状态码
|
|
514
|
+
* @format int32
|
|
515
|
+
*/
|
|
516
|
+
code?: number;
|
|
517
|
+
/** 错误提示 */
|
|
518
|
+
msg?: string;
|
|
519
|
+
/** 管理员信息 */
|
|
520
|
+
data?: AdminVo;
|
|
521
|
+
}
|
|
522
|
+
/** 批付列表 */
|
|
523
|
+
export interface BatchPayListReqVo {
|
|
524
|
+
/**
|
|
525
|
+
* 当前页,起始为1
|
|
526
|
+
* @format int32
|
|
527
|
+
* @min 1
|
|
528
|
+
*/
|
|
529
|
+
pageNum?: number;
|
|
530
|
+
/**
|
|
531
|
+
* 每页数据数量,范围1-500条
|
|
532
|
+
* @format int32
|
|
533
|
+
* @min 1
|
|
534
|
+
* @max 500
|
|
535
|
+
*/
|
|
536
|
+
pageSize?: number;
|
|
537
|
+
/** 批次号 */
|
|
538
|
+
batchNo?: string;
|
|
539
|
+
/** 批次状态 */
|
|
540
|
+
status?: "0" | "1" | "2" | "3" | "10" | "11" | "12" | "13" | "14" | "15" | "99";
|
|
541
|
+
/**
|
|
542
|
+
* 创建时间区间开始,yyyy-MM-dd HH:mm:ss
|
|
543
|
+
* @format date-time
|
|
544
|
+
*/
|
|
545
|
+
startTime?: string;
|
|
546
|
+
/**
|
|
547
|
+
* 创建时间区间结束, yyyy-MM-dd HH:mm:ss
|
|
548
|
+
* @format date-time
|
|
549
|
+
*/
|
|
550
|
+
endTime?: string;
|
|
551
|
+
}
|
|
552
|
+
/** 商户列表 */
|
|
553
|
+
export interface MerchantListReqVo {
|
|
554
|
+
/**
|
|
555
|
+
* 当前页,起始为1
|
|
556
|
+
* @format int32
|
|
557
|
+
* @min 1
|
|
558
|
+
*/
|
|
559
|
+
pageNum?: number;
|
|
560
|
+
/**
|
|
561
|
+
* 每页数据数量,范围1-500条
|
|
562
|
+
* @format int32
|
|
563
|
+
* @min 1
|
|
564
|
+
* @max 500
|
|
565
|
+
*/
|
|
566
|
+
pageSize?: number;
|
|
567
|
+
/** 商户名称 */
|
|
568
|
+
mchName?: string;
|
|
569
|
+
/** 商户状态 */
|
|
570
|
+
status?: "0" | "1" | "2";
|
|
571
|
+
}
|
|
572
|
+
/** 分页结果 */
|
|
573
|
+
export interface PageDataMerchantVo {
|
|
574
|
+
/**
|
|
575
|
+
* 总记录数
|
|
576
|
+
* @format int64
|
|
577
|
+
*/
|
|
578
|
+
total?: number;
|
|
579
|
+
/** 列表数据 */
|
|
580
|
+
rows?: MerchantVo[];
|
|
581
|
+
/**
|
|
582
|
+
* 当前页记录数
|
|
583
|
+
* @format int64
|
|
584
|
+
*/
|
|
585
|
+
size?: number;
|
|
586
|
+
/**
|
|
587
|
+
* 当前页
|
|
588
|
+
* @format int64
|
|
589
|
+
*/
|
|
590
|
+
current?: number;
|
|
591
|
+
}
|
|
592
|
+
/** 响应报文 */
|
|
593
|
+
export interface ResponseMsgPageDataMerchantVo {
|
|
594
|
+
/**
|
|
595
|
+
* 状态码
|
|
596
|
+
* @format int32
|
|
597
|
+
*/
|
|
598
|
+
code?: number;
|
|
599
|
+
/** 错误提示 */
|
|
600
|
+
msg?: string;
|
|
601
|
+
/** 分页结果 */
|
|
602
|
+
data?: PageDataMerchantVo;
|
|
603
|
+
}
|
|
604
|
+
export interface MerchantBalanceLogReqVo {
|
|
605
|
+
/**
|
|
606
|
+
* 当前页,起始为1
|
|
607
|
+
* @format int32
|
|
608
|
+
* @min 1
|
|
609
|
+
*/
|
|
610
|
+
pageNum?: number;
|
|
611
|
+
/**
|
|
612
|
+
* 每页数据数量,范围1-500条
|
|
613
|
+
* @format int32
|
|
614
|
+
* @min 1
|
|
615
|
+
* @max 500
|
|
616
|
+
*/
|
|
617
|
+
pageSize?: number;
|
|
618
|
+
/**
|
|
619
|
+
* 商户id
|
|
620
|
+
* @format int64
|
|
621
|
+
*/
|
|
622
|
+
mchId: number;
|
|
623
|
+
}
|
|
624
|
+
/** 列表数据 */
|
|
625
|
+
export interface MerchantBalanceLogRespVo {
|
|
626
|
+
/** 原余额 */
|
|
627
|
+
oldBalance?: number;
|
|
628
|
+
/** 新余额 */
|
|
629
|
+
newBalance?: number;
|
|
630
|
+
/** 变动金额 */
|
|
631
|
+
amount?: number;
|
|
632
|
+
/** 描述 */
|
|
633
|
+
description?: string;
|
|
634
|
+
/**
|
|
635
|
+
* 创建时间
|
|
636
|
+
* @format date-time
|
|
637
|
+
*/
|
|
638
|
+
createdAt?: string;
|
|
639
|
+
}
|
|
640
|
+
/** 分页结果 */
|
|
641
|
+
export interface PageDataMerchantBalanceLogRespVo {
|
|
642
|
+
/**
|
|
643
|
+
* 总记录数
|
|
644
|
+
* @format int64
|
|
645
|
+
*/
|
|
646
|
+
total?: number;
|
|
647
|
+
/** 列表数据 */
|
|
648
|
+
rows?: MerchantBalanceLogRespVo[];
|
|
649
|
+
/**
|
|
650
|
+
* 当前页记录数
|
|
651
|
+
* @format int64
|
|
652
|
+
*/
|
|
653
|
+
size?: number;
|
|
654
|
+
/**
|
|
655
|
+
* 当前页
|
|
656
|
+
* @format int64
|
|
657
|
+
*/
|
|
658
|
+
current?: number;
|
|
659
|
+
}
|
|
660
|
+
/** 响应报文 */
|
|
661
|
+
export interface ResponseMsgPageDataMerchantBalanceLogRespVo {
|
|
662
|
+
/**
|
|
663
|
+
* 状态码
|
|
664
|
+
* @format int32
|
|
665
|
+
*/
|
|
666
|
+
code?: number;
|
|
667
|
+
/** 错误提示 */
|
|
668
|
+
msg?: string;
|
|
669
|
+
/** 分页结果 */
|
|
670
|
+
data?: PageDataMerchantBalanceLogRespVo;
|
|
671
|
+
}
|
|
672
|
+
/** 商户管理员列表 */
|
|
673
|
+
export interface MerchantAdminListReqVo {
|
|
674
|
+
/**
|
|
675
|
+
* 当前页,起始为1
|
|
676
|
+
* @format int32
|
|
677
|
+
* @min 1
|
|
678
|
+
*/
|
|
679
|
+
pageNum?: number;
|
|
680
|
+
/**
|
|
681
|
+
* 每页数据数量,范围1-500条
|
|
682
|
+
* @format int32
|
|
683
|
+
* @min 1
|
|
684
|
+
* @max 500
|
|
685
|
+
*/
|
|
686
|
+
pageSize?: number;
|
|
687
|
+
/**
|
|
688
|
+
* 商户id
|
|
689
|
+
* @format int64
|
|
690
|
+
*/
|
|
691
|
+
mchId?: number;
|
|
692
|
+
/** 商户管理员名称 */
|
|
693
|
+
name?: string;
|
|
694
|
+
/** 手机号码 */
|
|
695
|
+
phone?: string;
|
|
696
|
+
}
|
|
697
|
+
/** 分页结果 */
|
|
698
|
+
export interface PageDataMerchantAdminVo {
|
|
699
|
+
/**
|
|
700
|
+
* 总记录数
|
|
701
|
+
* @format int64
|
|
702
|
+
*/
|
|
703
|
+
total?: number;
|
|
704
|
+
/** 列表数据 */
|
|
705
|
+
rows?: MerchantAdminVo[];
|
|
706
|
+
/**
|
|
707
|
+
* 当前页记录数
|
|
708
|
+
* @format int64
|
|
709
|
+
*/
|
|
710
|
+
size?: number;
|
|
711
|
+
/**
|
|
712
|
+
* 当前页
|
|
713
|
+
* @format int64
|
|
714
|
+
*/
|
|
715
|
+
current?: number;
|
|
716
|
+
}
|
|
717
|
+
/** 响应报文 */
|
|
718
|
+
export interface ResponseMsgPageDataMerchantAdminVo {
|
|
719
|
+
/**
|
|
720
|
+
* 状态码
|
|
721
|
+
* @format int32
|
|
722
|
+
*/
|
|
723
|
+
code?: number;
|
|
724
|
+
/** 错误提示 */
|
|
725
|
+
msg?: string;
|
|
726
|
+
/** 分页结果 */
|
|
727
|
+
data?: PageDataMerchantAdminVo;
|
|
728
|
+
}
|
|
729
|
+
/** 汇聚支付- 转账列表响应 */
|
|
730
|
+
export interface JpTransferListReqVo {
|
|
731
|
+
/**
|
|
732
|
+
* 当前页,起始为1
|
|
733
|
+
* @format int32
|
|
734
|
+
* @min 1
|
|
735
|
+
*/
|
|
736
|
+
pageNum?: number;
|
|
737
|
+
/**
|
|
738
|
+
* 每页数据数量,范围1-500条
|
|
739
|
+
* @format int32
|
|
740
|
+
* @min 1
|
|
741
|
+
* @max 500
|
|
742
|
+
*/
|
|
743
|
+
pageSize?: number;
|
|
744
|
+
/**
|
|
745
|
+
* 转账id
|
|
746
|
+
* @format int64
|
|
747
|
+
*/
|
|
748
|
+
id?: number;
|
|
749
|
+
/** 商户号 */
|
|
750
|
+
mchNo?: string;
|
|
751
|
+
/** 批次号 */
|
|
752
|
+
batchNo?: string;
|
|
753
|
+
/** 类型 */
|
|
754
|
+
type?: "0" | "10" | "11" | "12" | "20" | "21";
|
|
755
|
+
/** 订单号 */
|
|
756
|
+
orderNo?: string;
|
|
757
|
+
/** 流水号 */
|
|
758
|
+
trxNo?: string;
|
|
759
|
+
/** 收款人姓名 */
|
|
760
|
+
receiverName?: string;
|
|
761
|
+
/** 收款人银行卡卡号 */
|
|
762
|
+
receiverAccount?: string;
|
|
763
|
+
/** 状态 */
|
|
764
|
+
status?: "0" | "1" | "2" | "3" | "10" | "11";
|
|
765
|
+
/**
|
|
766
|
+
* 创建时间区间开始,yyyy-MM-dd HH:mm:ss
|
|
767
|
+
* @format date-time
|
|
768
|
+
*/
|
|
769
|
+
startTime?: string;
|
|
770
|
+
/**
|
|
771
|
+
* 创建时间区间结束, yyyy-MM-dd HH:mm:ss
|
|
772
|
+
* @format date-time
|
|
773
|
+
*/
|
|
774
|
+
endTime?: string;
|
|
775
|
+
}
|
|
776
|
+
/** 分页结果 */
|
|
777
|
+
export interface PageDataJpTransferRespVo {
|
|
778
|
+
/**
|
|
779
|
+
* 总记录数
|
|
780
|
+
* @format int64
|
|
781
|
+
*/
|
|
782
|
+
total?: number;
|
|
783
|
+
/** 列表数据 */
|
|
784
|
+
rows?: JpTransferRespVo[];
|
|
785
|
+
/**
|
|
786
|
+
* 当前页记录数
|
|
787
|
+
* @format int64
|
|
788
|
+
*/
|
|
789
|
+
size?: number;
|
|
790
|
+
/**
|
|
791
|
+
* 当前页
|
|
792
|
+
* @format int64
|
|
793
|
+
*/
|
|
794
|
+
current?: number;
|
|
795
|
+
}
|
|
796
|
+
/** 响应报文 */
|
|
797
|
+
export interface ResponseMsgPageDataJpTransferRespVo {
|
|
798
|
+
/**
|
|
799
|
+
* 状态码
|
|
800
|
+
* @format int32
|
|
801
|
+
*/
|
|
802
|
+
code?: number;
|
|
803
|
+
/** 错误提示 */
|
|
804
|
+
msg?: string;
|
|
805
|
+
/** 分页结果 */
|
|
806
|
+
data?: PageDataJpTransferRespVo;
|
|
807
|
+
}
|
|
808
|
+
/** 汇聚支付- 批量代付列表查询 */
|
|
809
|
+
export interface JpBatchPayListReqVo {
|
|
810
|
+
/**
|
|
811
|
+
* 当前页,起始为1
|
|
812
|
+
* @format int32
|
|
813
|
+
* @min 1
|
|
814
|
+
*/
|
|
815
|
+
pageNum?: number;
|
|
816
|
+
/**
|
|
817
|
+
* 每页数据数量,范围1-500条
|
|
818
|
+
* @format int32
|
|
819
|
+
* @min 1
|
|
820
|
+
* @max 500
|
|
821
|
+
*/
|
|
822
|
+
pageSize?: number;
|
|
823
|
+
/**
|
|
824
|
+
* 批量代付id
|
|
825
|
+
* @format int64
|
|
826
|
+
*/
|
|
827
|
+
id?: number;
|
|
828
|
+
/** 商户号 */
|
|
829
|
+
mchNo?: string;
|
|
830
|
+
/** 批次号 */
|
|
831
|
+
batchNo?: string;
|
|
832
|
+
/** 状态 */
|
|
833
|
+
status?: "0" | "1" | "2" | "3" | "10" | "11" | "12" | "13" | "14" | "15" | "99";
|
|
834
|
+
/**
|
|
835
|
+
* 创建时间区间开始,yyyy-MM-dd HH:mm:ss
|
|
836
|
+
* @format date-time
|
|
837
|
+
*/
|
|
838
|
+
startTime?: string;
|
|
839
|
+
/**
|
|
840
|
+
* 创建时间区间结束, yyyy-MM-dd HH:mm:ss
|
|
841
|
+
* @format date-time
|
|
842
|
+
*/
|
|
843
|
+
endTime?: string;
|
|
844
|
+
}
|
|
845
|
+
/** 分页结果 */
|
|
846
|
+
export interface PageDataJpBatchPayRespVo {
|
|
847
|
+
/**
|
|
848
|
+
* 总记录数
|
|
849
|
+
* @format int64
|
|
850
|
+
*/
|
|
851
|
+
total?: number;
|
|
852
|
+
/** 列表数据 */
|
|
853
|
+
rows?: JpBatchPayRespVo[];
|
|
854
|
+
/**
|
|
855
|
+
* 当前页记录数
|
|
856
|
+
* @format int64
|
|
857
|
+
*/
|
|
858
|
+
size?: number;
|
|
859
|
+
/**
|
|
860
|
+
* 当前页
|
|
861
|
+
* @format int64
|
|
862
|
+
*/
|
|
863
|
+
current?: number;
|
|
864
|
+
}
|
|
865
|
+
/** 响应报文 */
|
|
866
|
+
export interface ResponseMsgPageDataJpBatchPayRespVo {
|
|
867
|
+
/**
|
|
868
|
+
* 状态码
|
|
869
|
+
* @format int32
|
|
870
|
+
*/
|
|
871
|
+
code?: number;
|
|
872
|
+
/** 错误提示 */
|
|
873
|
+
msg?: string;
|
|
874
|
+
/** 分页结果 */
|
|
875
|
+
data?: PageDataJpBatchPayRespVo;
|
|
876
|
+
}
|
|
877
|
+
/** 商户分页 参数 */
|
|
878
|
+
export interface JpMerchantPageQuery {
|
|
879
|
+
/**
|
|
880
|
+
* 当前页,起始为1
|
|
881
|
+
* @format int32
|
|
882
|
+
* @min 1
|
|
883
|
+
*/
|
|
884
|
+
pageNum?: number;
|
|
885
|
+
/**
|
|
886
|
+
* 每页数据数量,范围1-500条
|
|
887
|
+
* @format int32
|
|
888
|
+
* @min 1
|
|
889
|
+
* @max 500
|
|
890
|
+
*/
|
|
891
|
+
pageSize?: number;
|
|
892
|
+
}
|
|
893
|
+
/** 商户 */
|
|
894
|
+
export interface JpMerchantRespVo {
|
|
895
|
+
/**
|
|
896
|
+
* 商户id
|
|
897
|
+
* @format int64
|
|
898
|
+
*/
|
|
899
|
+
id?: number;
|
|
900
|
+
/** 商户号 */
|
|
901
|
+
mchNo?: string;
|
|
902
|
+
/** 商户分类,如分账户、二级商户 */
|
|
903
|
+
category?: "0" | "1" | "2" | "3";
|
|
904
|
+
/** 商户名称 */
|
|
905
|
+
name?: string;
|
|
906
|
+
/** 商户简称 */
|
|
907
|
+
shortName?: string;
|
|
908
|
+
/** 登录名 */
|
|
909
|
+
loginName?: string;
|
|
910
|
+
/** 类型,如个人、个体、企业 */
|
|
911
|
+
type?: "10" | "11" | "12";
|
|
912
|
+
/** 业务联系人姓名 */
|
|
913
|
+
busiContactName?: string;
|
|
914
|
+
/** 业务联系人手机号 */
|
|
915
|
+
busiContactPhone?: string;
|
|
916
|
+
/** 法人姓名 */
|
|
917
|
+
legalName?: string;
|
|
918
|
+
/** 法人手机号码 */
|
|
919
|
+
legalPhone?: string;
|
|
920
|
+
/** 法人身份证号码 */
|
|
921
|
+
legalId?: string;
|
|
922
|
+
/**
|
|
923
|
+
* 法人身份证过期时间
|
|
924
|
+
* @format date-time
|
|
925
|
+
*/
|
|
926
|
+
legalIdExpiry?: string;
|
|
927
|
+
/** 营业执照编号 */
|
|
928
|
+
licenseNo?: string;
|
|
929
|
+
/**
|
|
930
|
+
* 营业执照过期时间
|
|
931
|
+
* @format date-time
|
|
932
|
+
*/
|
|
933
|
+
licenseExpiry?: string;
|
|
934
|
+
/** 经营范围 */
|
|
935
|
+
manageScope?: string;
|
|
936
|
+
/** 经营地址 */
|
|
937
|
+
manageAddr?: string;
|
|
938
|
+
/** 结算方式 */
|
|
939
|
+
settMode?: "0" | "1" | "2" | "3" | "4";
|
|
940
|
+
/** 结算周期类型 */
|
|
941
|
+
settDateType?: "0" | "1" | "2" | "3";
|
|
942
|
+
/**
|
|
943
|
+
* 结算周期
|
|
944
|
+
* @format int32
|
|
945
|
+
*/
|
|
946
|
+
riskDay?: number;
|
|
947
|
+
/** 结算账户类型 */
|
|
948
|
+
bankType?: "0" | "1" | "2";
|
|
949
|
+
/** 银行账号名称 */
|
|
950
|
+
bankName?: string;
|
|
951
|
+
/** 银行账号 */
|
|
952
|
+
bankNo?: string;
|
|
953
|
+
/** 联行号 */
|
|
954
|
+
bankChannelNo?: string;
|
|
955
|
+
/** 状态 */
|
|
956
|
+
status?: "0" | "1" | "2" | "3";
|
|
957
|
+
/**
|
|
958
|
+
* 创建时间
|
|
959
|
+
* @format date-time
|
|
960
|
+
*/
|
|
961
|
+
createdAt?: string;
|
|
962
|
+
}
|
|
963
|
+
/** 分页结果 */
|
|
964
|
+
export interface PageDataJpMerchantRespVo {
|
|
965
|
+
/**
|
|
966
|
+
* 总记录数
|
|
967
|
+
* @format int64
|
|
968
|
+
*/
|
|
969
|
+
total?: number;
|
|
970
|
+
/** 列表数据 */
|
|
971
|
+
rows?: JpMerchantRespVo[];
|
|
972
|
+
/**
|
|
973
|
+
* 当前页记录数
|
|
974
|
+
* @format int64
|
|
975
|
+
*/
|
|
976
|
+
size?: number;
|
|
977
|
+
/**
|
|
978
|
+
* 当前页
|
|
979
|
+
* @format int64
|
|
980
|
+
*/
|
|
981
|
+
current?: number;
|
|
982
|
+
}
|
|
983
|
+
/** 响应报文 */
|
|
984
|
+
export interface ResponseMsgPageDataJpMerchantRespVo {
|
|
985
|
+
/**
|
|
986
|
+
* 状态码
|
|
987
|
+
* @format int32
|
|
988
|
+
*/
|
|
989
|
+
code?: number;
|
|
990
|
+
/** 错误提示 */
|
|
991
|
+
msg?: string;
|
|
992
|
+
/** 分页结果 */
|
|
993
|
+
data?: PageDataJpMerchantRespVo;
|
|
994
|
+
}
|
|
995
|
+
/** 枚举列表请求参数 */
|
|
996
|
+
export interface EnumListReqVo {
|
|
997
|
+
/** id集合,多个请用,隔开 */
|
|
998
|
+
ids?: string;
|
|
999
|
+
}
|
|
1000
|
+
/** 枚举项 */
|
|
1001
|
+
export interface EnumItemVo {
|
|
1002
|
+
/** 枚举键值 */
|
|
1003
|
+
code?: object;
|
|
1004
|
+
/** 枚举描述 */
|
|
1005
|
+
desc?: string;
|
|
1006
|
+
}
|
|
1007
|
+
/** 枚举信息 */
|
|
1008
|
+
export interface EnumVo {
|
|
1009
|
+
/** 枚举名称 */
|
|
1010
|
+
id?: string;
|
|
1011
|
+
/** 枚举名字 */
|
|
1012
|
+
name?: string;
|
|
1013
|
+
values?: EnumItemVo[];
|
|
1014
|
+
}
|
|
1015
|
+
/** 响应报文 */
|
|
1016
|
+
export interface ResponseMsgListEnumVo {
|
|
1017
|
+
/**
|
|
1018
|
+
* 状态码
|
|
1019
|
+
* @format int32
|
|
1020
|
+
*/
|
|
1021
|
+
code?: number;
|
|
1022
|
+
/** 错误提示 */
|
|
1023
|
+
msg?: string;
|
|
1024
|
+
/** 返回数据 */
|
|
1025
|
+
data?: EnumVo[];
|
|
1026
|
+
}
|
|
1027
|
+
/** 图像验证码 */
|
|
1028
|
+
export interface CaptchaImageVo {
|
|
1029
|
+
/** 图像验证码Key */
|
|
1030
|
+
key?: string;
|
|
1031
|
+
/** 图像验证码图片,data:image/jpeg;base64 */
|
|
1032
|
+
dataUrl?: string;
|
|
1033
|
+
}
|
|
1034
|
+
/** 响应报文 */
|
|
1035
|
+
export interface ResponseMsgCaptchaImageVo {
|
|
1036
|
+
/**
|
|
1037
|
+
* 状态码
|
|
1038
|
+
* @format int32
|
|
1039
|
+
*/
|
|
1040
|
+
code?: number;
|
|
1041
|
+
/** 错误提示 */
|
|
1042
|
+
msg?: string;
|
|
1043
|
+
/** 图像验证码 */
|
|
1044
|
+
data?: CaptchaImageVo;
|
|
1045
|
+
}
|
|
1046
|
+
export interface AdminListReqVo {
|
|
1047
|
+
/**
|
|
1048
|
+
* 当前页,起始为1
|
|
1049
|
+
* @format int32
|
|
1050
|
+
* @min 1
|
|
1051
|
+
*/
|
|
1052
|
+
pageNum?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* 每页数据数量,范围1-500条
|
|
1055
|
+
* @format int32
|
|
1056
|
+
* @min 1
|
|
1057
|
+
* @max 500
|
|
1058
|
+
*/
|
|
1059
|
+
pageSize?: number;
|
|
1060
|
+
/**
|
|
1061
|
+
* 管理员id
|
|
1062
|
+
* @format int64
|
|
1063
|
+
*/
|
|
1064
|
+
id?: number;
|
|
1065
|
+
/** 管理员名称 */
|
|
1066
|
+
name?: string;
|
|
1067
|
+
/** 手机号 */
|
|
1068
|
+
phone?: string;
|
|
1069
|
+
/** 状态 */
|
|
1070
|
+
status?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8";
|
|
1071
|
+
}
|
|
1072
|
+
/** 分页结果 */
|
|
1073
|
+
export interface PageDataAdminVo {
|
|
1074
|
+
/**
|
|
1075
|
+
* 总记录数
|
|
1076
|
+
* @format int64
|
|
1077
|
+
*/
|
|
1078
|
+
total?: number;
|
|
1079
|
+
/** 列表数据 */
|
|
1080
|
+
rows?: AdminVo[];
|
|
1081
|
+
/**
|
|
1082
|
+
* 当前页记录数
|
|
1083
|
+
* @format int64
|
|
1084
|
+
*/
|
|
1085
|
+
size?: number;
|
|
1086
|
+
/**
|
|
1087
|
+
* 当前页
|
|
1088
|
+
* @format int64
|
|
1089
|
+
*/
|
|
1090
|
+
current?: number;
|
|
1091
|
+
}
|
|
1092
|
+
/** 响应报文 */
|
|
1093
|
+
export interface ResponseMsgPageDataAdminVo {
|
|
1094
|
+
/**
|
|
1095
|
+
* 状态码
|
|
1096
|
+
* @format int32
|
|
1097
|
+
*/
|
|
1098
|
+
code?: number;
|
|
1099
|
+
/** 错误提示 */
|
|
1100
|
+
msg?: string;
|
|
1101
|
+
/** 分页结果 */
|
|
1102
|
+
data?: PageDataAdminVo;
|
|
1103
|
+
}
|
|
1104
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
1105
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
1106
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
1107
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
1108
|
+
secure?: boolean;
|
|
1109
|
+
/** request path */
|
|
1110
|
+
path: string;
|
|
1111
|
+
/** content type of request body */
|
|
1112
|
+
type?: ContentType;
|
|
1113
|
+
/** query params */
|
|
1114
|
+
query?: QueryParamsType;
|
|
1115
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
1116
|
+
format?: ResponseType;
|
|
1117
|
+
/** request body */
|
|
1118
|
+
body?: unknown;
|
|
1119
|
+
}
|
|
1120
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
1121
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
1122
|
+
securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
1123
|
+
secure?: boolean;
|
|
1124
|
+
format?: ResponseType;
|
|
1125
|
+
}
|
|
1126
|
+
export declare enum ContentType {
|
|
1127
|
+
Json = "application/json",
|
|
1128
|
+
JsonApi = "application/vnd.api+json",
|
|
1129
|
+
FormData = "multipart/form-data",
|
|
1130
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
1131
|
+
Text = "text/plain"
|
|
1132
|
+
}
|
|
1133
|
+
export declare class HttpClient<SecurityDataType = unknown> {
|
|
1134
|
+
instance: AxiosInstance;
|
|
1135
|
+
private securityData;
|
|
1136
|
+
private securityWorker?;
|
|
1137
|
+
private secure?;
|
|
1138
|
+
private format?;
|
|
1139
|
+
constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig<SecurityDataType>);
|
|
1140
|
+
setSecurityData: (data: SecurityDataType | null) => void;
|
|
1141
|
+
protected mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig;
|
|
1142
|
+
protected stringifyFormItem(formItem: unknown): string;
|
|
1143
|
+
protected createFormData(input: Record<string, unknown>): FormData;
|
|
1144
|
+
request: <T = any, _E = any>({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise<AxiosResponse<T>>;
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* @title 凯聚通支付平台
|
|
1148
|
+
* @version v1.0
|
|
1149
|
+
* @baseUrl https://kjt.yunhesoft.top/api/admin
|
|
1150
|
+
* @contact 云鹤软件 <admin@yunhesoft.top>
|
|
1151
|
+
*
|
|
1152
|
+
* 凯聚通支付平台后端API文档
|
|
1153
|
+
*/
|
|
1154
|
+
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
1155
|
+
transaction: {
|
|
1156
|
+
/**
|
|
1157
|
+
* @description 发起批付
|
|
1158
|
+
*
|
|
1159
|
+
* @tags 商户交易模块
|
|
1160
|
+
* @name TransactionBatchPayLaunchPost
|
|
1161
|
+
* @request POST:/transaction/batch-pay/launch
|
|
1162
|
+
* @response `200` `ResponseMsgBatchPayLaunchRespVo` OK
|
|
1163
|
+
*/
|
|
1164
|
+
transactionBatchPayLaunchPost: (data: BatchPayLaunchReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgBatchPayLaunchRespVo, any, {}>>;
|
|
1165
|
+
/**
|
|
1166
|
+
* @description 获取批付列表
|
|
1167
|
+
*
|
|
1168
|
+
* @tags 商户交易模块
|
|
1169
|
+
* @name TransactionBatchPayListGet
|
|
1170
|
+
* @request GET:/transaction/batch-pay/list
|
|
1171
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1172
|
+
*/
|
|
1173
|
+
transactionBatchPayListGet: (query: {
|
|
1174
|
+
/** 批付列表 */
|
|
1175
|
+
param: BatchPayListReqVo;
|
|
1176
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1177
|
+
/**
|
|
1178
|
+
* @description 获取批付详情
|
|
1179
|
+
*
|
|
1180
|
+
* @tags 商户交易模块
|
|
1181
|
+
* @name TransactionBatchPayGetGet
|
|
1182
|
+
* @request GET:/transaction/batch-pay/get
|
|
1183
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1184
|
+
*/
|
|
1185
|
+
transactionBatchPayGetGet: (query: {
|
|
1186
|
+
/**
|
|
1187
|
+
* 批付id
|
|
1188
|
+
* @format int64
|
|
1189
|
+
*/
|
|
1190
|
+
id: number;
|
|
1191
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1192
|
+
};
|
|
1193
|
+
merchant: {
|
|
1194
|
+
/**
|
|
1195
|
+
* No description
|
|
1196
|
+
*
|
|
1197
|
+
* @tags 商户模块
|
|
1198
|
+
* @name MerchantCreatePost
|
|
1199
|
+
* @summary 创建商户
|
|
1200
|
+
* @request POST:/merchant/create
|
|
1201
|
+
* @response `200` `ResponseMsgMerchantVo` OK
|
|
1202
|
+
*/
|
|
1203
|
+
merchantCreatePost: (data: MerchantCreateReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgMerchantVo, any, {}>>;
|
|
1204
|
+
/**
|
|
1205
|
+
* No description
|
|
1206
|
+
*
|
|
1207
|
+
* @tags 商户模块
|
|
1208
|
+
* @name MerchantBalanceUpdatePost
|
|
1209
|
+
* @summary 修改商户余额
|
|
1210
|
+
* @request POST:/merchant/balance/update
|
|
1211
|
+
* @response `200` `ResponseMsgString` OK
|
|
1212
|
+
*/
|
|
1213
|
+
merchantBalanceUpdatePost: (data: MerchantBalanceUpdateReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgString, any, {}>>;
|
|
1214
|
+
/**
|
|
1215
|
+
* No description
|
|
1216
|
+
*
|
|
1217
|
+
* @tags 商户管理员模块
|
|
1218
|
+
* @name MerchantAdminUpdatePost
|
|
1219
|
+
* @summary 修改商户管理员信息
|
|
1220
|
+
* @request POST:/merchant/admin/update
|
|
1221
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1222
|
+
*/
|
|
1223
|
+
merchantAdminUpdatePost: (query: {
|
|
1224
|
+
/** 更新商户管理员信息 */
|
|
1225
|
+
param: MerchantAdminUpdateReqVo;
|
|
1226
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1227
|
+
/**
|
|
1228
|
+
* No description
|
|
1229
|
+
*
|
|
1230
|
+
* @tags 商户管理员模块
|
|
1231
|
+
* @name MerchantAdminUpdatePhonePost
|
|
1232
|
+
* @summary 修改商户管理员手机号
|
|
1233
|
+
* @request POST:/merchant/admin/update/phone
|
|
1234
|
+
* @response `200` `ResponseMsgString` OK
|
|
1235
|
+
*/
|
|
1236
|
+
merchantAdminUpdatePhonePost: (data: MerchantAdminUpdatePhoneReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgString, any, {}>>;
|
|
1237
|
+
/**
|
|
1238
|
+
* @description 登出当前登录的商户管理员
|
|
1239
|
+
*
|
|
1240
|
+
* @tags 商户管理员模块
|
|
1241
|
+
* @name MerchantAdminLogoutPost
|
|
1242
|
+
* @summary 登出
|
|
1243
|
+
* @request POST:/merchant/admin/logout
|
|
1244
|
+
* @response `200` `ResponseMsgString` OK
|
|
1245
|
+
*/
|
|
1246
|
+
merchantAdminLogoutPost: (params?: RequestParams) => Promise<AxiosResponse<ResponseMsgString, any, {}>>;
|
|
1247
|
+
/**
|
|
1248
|
+
* No description
|
|
1249
|
+
*
|
|
1250
|
+
* @tags 商户管理员模块
|
|
1251
|
+
* @name MerchantAdminLoginPhonePost
|
|
1252
|
+
* @summary 登录
|
|
1253
|
+
* @request POST:/merchant/admin/login/phone
|
|
1254
|
+
* @response `200` `ResponseMsgMerchantLoginRespVo` OK
|
|
1255
|
+
*/
|
|
1256
|
+
merchantAdminLoginPhonePost: (data: MerchantLoginPhoneReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgMerchantLoginRespVo, any, {}>>;
|
|
1257
|
+
/**
|
|
1258
|
+
* No description
|
|
1259
|
+
*
|
|
1260
|
+
* @tags 商户管理员模块
|
|
1261
|
+
* @name MerchantAdminCreatePost
|
|
1262
|
+
* @summary 创建商户管理员
|
|
1263
|
+
* @request POST:/merchant/admin/create
|
|
1264
|
+
* @response `200` `ResponseMsgMerchantAdminVo` OK
|
|
1265
|
+
*/
|
|
1266
|
+
merchantAdminCreatePost: (data: MerchantAdminCreateReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgMerchantAdminVo, any, {}>>;
|
|
1267
|
+
/**
|
|
1268
|
+
* No description
|
|
1269
|
+
*
|
|
1270
|
+
* @tags 商户模块
|
|
1271
|
+
* @name MerchantListGet
|
|
1272
|
+
* @summary 获取商户列表
|
|
1273
|
+
* @request GET:/merchant/list
|
|
1274
|
+
* @response `200` `ResponseMsgPageDataMerchantVo` OK
|
|
1275
|
+
*/
|
|
1276
|
+
merchantListGet: (query: {
|
|
1277
|
+
/** 商户列表 */
|
|
1278
|
+
param: MerchantListReqVo;
|
|
1279
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataMerchantVo, any, {}>>;
|
|
1280
|
+
/**
|
|
1281
|
+
* No description
|
|
1282
|
+
*
|
|
1283
|
+
* @tags 商户模块
|
|
1284
|
+
* @name MerchantGetGet
|
|
1285
|
+
* @summary 获取商户信息 (指定获取需要权限)
|
|
1286
|
+
* @request GET:/merchant/get
|
|
1287
|
+
* @response `200` `ResponseMsgMerchantVo` OK
|
|
1288
|
+
*/
|
|
1289
|
+
merchantGetGet: (query?: {
|
|
1290
|
+
/**
|
|
1291
|
+
* @format int64
|
|
1292
|
+
* @default -1
|
|
1293
|
+
*/
|
|
1294
|
+
id?: number;
|
|
1295
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgMerchantVo, any, {}>>;
|
|
1296
|
+
/**
|
|
1297
|
+
* No description
|
|
1298
|
+
*
|
|
1299
|
+
* @tags 商户模块
|
|
1300
|
+
* @name MerchantBalanceLogGetGet
|
|
1301
|
+
* @summary 获取商户余额变动记录
|
|
1302
|
+
* @request GET:/merchant/balance/log/get
|
|
1303
|
+
* @response `200` `ResponseMsgPageDataMerchantBalanceLogRespVo` OK
|
|
1304
|
+
*/
|
|
1305
|
+
merchantBalanceLogGetGet: (query: {
|
|
1306
|
+
param: MerchantBalanceLogReqVo;
|
|
1307
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataMerchantBalanceLogRespVo, any, {}>>;
|
|
1308
|
+
/**
|
|
1309
|
+
* No description
|
|
1310
|
+
*
|
|
1311
|
+
* @tags 商户管理员模块
|
|
1312
|
+
* @name MerchantAdminListGet
|
|
1313
|
+
* @summary 获取商户管理员列表
|
|
1314
|
+
* @request GET:/merchant/admin/list
|
|
1315
|
+
* @response `200` `ResponseMsgPageDataMerchantAdminVo` OK
|
|
1316
|
+
*/
|
|
1317
|
+
merchantAdminListGet: (query: {
|
|
1318
|
+
/** 商户管理员列表 */
|
|
1319
|
+
param: MerchantAdminListReqVo;
|
|
1320
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataMerchantAdminVo, any, {}>>;
|
|
1321
|
+
/**
|
|
1322
|
+
* No description
|
|
1323
|
+
*
|
|
1324
|
+
* @tags 商户管理员模块
|
|
1325
|
+
* @name MerchantAdminGetGet
|
|
1326
|
+
* @summary 获取商户管理员信息
|
|
1327
|
+
* @request GET:/merchant/admin/get
|
|
1328
|
+
* @response `200` `ResponseMsgMerchantAdminVo` OK
|
|
1329
|
+
*/
|
|
1330
|
+
merchantAdminGetGet: (query?: {
|
|
1331
|
+
/**
|
|
1332
|
+
* @format int64
|
|
1333
|
+
* @default -1
|
|
1334
|
+
*/
|
|
1335
|
+
id?: number;
|
|
1336
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgMerchantAdminVo, any, {}>>;
|
|
1337
|
+
};
|
|
1338
|
+
joinpay: {
|
|
1339
|
+
/**
|
|
1340
|
+
* @description 平台与分账方之间转账
|
|
1341
|
+
*
|
|
1342
|
+
* @tags 汇聚支付-交易模块
|
|
1343
|
+
* @name JoinpayTransactionTransferLaunchPost
|
|
1344
|
+
* @summary 发起转账
|
|
1345
|
+
* @request POST:/joinpay/transaction/transfer/launch
|
|
1346
|
+
* @response `200` `ResponseMsgJpTransferRespVo` OK
|
|
1347
|
+
*/
|
|
1348
|
+
joinpayTransactionTransferLaunchPost: (data: JpTransferLaunchReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgJpTransferRespVo, any, {}>>;
|
|
1349
|
+
/**
|
|
1350
|
+
* @description 平台转账至银行卡
|
|
1351
|
+
*
|
|
1352
|
+
* @tags 汇聚支付-交易模块
|
|
1353
|
+
* @name JoinpayTransactionBatchPayLaunchPost
|
|
1354
|
+
* @summary 发起批量代付
|
|
1355
|
+
* @request POST:/joinpay/transaction/batch-pay/launch
|
|
1356
|
+
* @response `200` `ResponseMsgJpBatchPayRespVo` OK
|
|
1357
|
+
*/
|
|
1358
|
+
joinpayTransactionBatchPayLaunchPost: (data: JpBatchPayLaunchRequest, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgJpBatchPayRespVo, any, {}>>;
|
|
1359
|
+
/**
|
|
1360
|
+
* No description
|
|
1361
|
+
*
|
|
1362
|
+
* @tags 汇聚支付-交易模块
|
|
1363
|
+
* @name JoinpayTransactionTransferListGet
|
|
1364
|
+
* @summary 获取交易明细列表
|
|
1365
|
+
* @request GET:/joinpay/transaction/transfer/list
|
|
1366
|
+
* @response `200` `ResponseMsgPageDataJpTransferRespVo` OK
|
|
1367
|
+
*/
|
|
1368
|
+
joinpayTransactionTransferListGet: (query: {
|
|
1369
|
+
/** 汇聚支付- 转账列表响应 */
|
|
1370
|
+
param: JpTransferListReqVo;
|
|
1371
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataJpTransferRespVo, any, {}>>;
|
|
1372
|
+
/**
|
|
1373
|
+
* No description
|
|
1374
|
+
*
|
|
1375
|
+
* @tags 汇聚支付-交易模块
|
|
1376
|
+
* @name JoinpayTransactionTransferGetGet
|
|
1377
|
+
* @summary 通过交易明细Id,获取交易明细详情
|
|
1378
|
+
* @request GET:/joinpay/transaction/transfer/get
|
|
1379
|
+
* @response `200` `ResponseMsgJpTransferRespVo` OK
|
|
1380
|
+
*/
|
|
1381
|
+
joinpayTransactionTransferGetGet: (query: {
|
|
1382
|
+
/** @format int64 */
|
|
1383
|
+
id: number;
|
|
1384
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgJpTransferRespVo, any, {}>>;
|
|
1385
|
+
/**
|
|
1386
|
+
* No description
|
|
1387
|
+
*
|
|
1388
|
+
* @tags 汇聚支付-交易模块
|
|
1389
|
+
* @name JoinpayTransactionBatchPayListGet
|
|
1390
|
+
* @summary 获取批量代付列表
|
|
1391
|
+
* @request GET:/joinpay/transaction/batch-pay/list
|
|
1392
|
+
* @response `200` `ResponseMsgPageDataJpBatchPayRespVo` OK
|
|
1393
|
+
*/
|
|
1394
|
+
joinpayTransactionBatchPayListGet: (query: {
|
|
1395
|
+
/** 汇聚支付- 批量代付列表查询 */
|
|
1396
|
+
param: JpBatchPayListReqVo;
|
|
1397
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataJpBatchPayRespVo, any, {}>>;
|
|
1398
|
+
/**
|
|
1399
|
+
* No description
|
|
1400
|
+
*
|
|
1401
|
+
* @tags 汇聚支付-交易模块
|
|
1402
|
+
* @name JoinpayTransactionBatchPayGetGet
|
|
1403
|
+
* @summary 获取批量代付详情
|
|
1404
|
+
* @request GET:/joinpay/transaction/batch-pay/get
|
|
1405
|
+
* @response `200` `ResponseMsgJpBatchPayRespVo` OK
|
|
1406
|
+
*/
|
|
1407
|
+
joinpayTransactionBatchPayGetGet: (query: {
|
|
1408
|
+
/** @format int64 */
|
|
1409
|
+
batchPayId: number;
|
|
1410
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgJpBatchPayRespVo, any, {}>>;
|
|
1411
|
+
/**
|
|
1412
|
+
* No description
|
|
1413
|
+
*
|
|
1414
|
+
* @tags 汇聚支付-商户模块
|
|
1415
|
+
* @name JoinpayMerchantListGet
|
|
1416
|
+
* @summary 获取商户分页
|
|
1417
|
+
* @request GET:/joinpay/merchant/list
|
|
1418
|
+
* @response `200` `ResponseMsgPageDataJpMerchantRespVo` OK
|
|
1419
|
+
*/
|
|
1420
|
+
joinpayMerchantListGet: (query: {
|
|
1421
|
+
/** 商户分页 参数 */
|
|
1422
|
+
param: JpMerchantPageQuery;
|
|
1423
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataJpMerchantRespVo, any, {}>>;
|
|
1424
|
+
};
|
|
1425
|
+
external: {
|
|
1426
|
+
/**
|
|
1427
|
+
* No description
|
|
1428
|
+
*
|
|
1429
|
+
* @tags 凯聚通API模块
|
|
1430
|
+
* @name ExternalSignPost
|
|
1431
|
+
* @request POST:/external/sign
|
|
1432
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1433
|
+
*/
|
|
1434
|
+
externalSignPost: (data: ExternalReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1435
|
+
/**
|
|
1436
|
+
* No description
|
|
1437
|
+
*
|
|
1438
|
+
* @tags 凯聚通API模块
|
|
1439
|
+
* @name ExternalInvokePost
|
|
1440
|
+
* @summary 统一入口
|
|
1441
|
+
* @request POST:/external/invoke
|
|
1442
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1443
|
+
*/
|
|
1444
|
+
externalInvokePost: (data: ExternalReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1445
|
+
};
|
|
1446
|
+
captcha: {
|
|
1447
|
+
/**
|
|
1448
|
+
* @description 5分钟内有效
|
|
1449
|
+
*
|
|
1450
|
+
* @tags 验证码模块
|
|
1451
|
+
* @name CaptchaSmsPost
|
|
1452
|
+
* @summary 发送短信验证码
|
|
1453
|
+
* @request POST:/captcha/sms
|
|
1454
|
+
* @response `200` `ResponseMsgCaptchaSmsSendRespVo` OK
|
|
1455
|
+
*/
|
|
1456
|
+
captchaSmsPost: (data: CaptchaSmsSendReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgCaptchaSmsSendRespVo, any, {}>>;
|
|
1457
|
+
/**
|
|
1458
|
+
* @description 5分钟内有效
|
|
1459
|
+
*
|
|
1460
|
+
* @tags 验证码模块
|
|
1461
|
+
* @name CaptchaImageGenerateGet
|
|
1462
|
+
* @summary 生成图像验证码
|
|
1463
|
+
* @request GET:/captcha/image/generate
|
|
1464
|
+
* @response `200` `ResponseMsgCaptchaImageVo` OK
|
|
1465
|
+
*/
|
|
1466
|
+
captchaImageGenerateGet: (params?: RequestParams) => Promise<AxiosResponse<ResponseMsgCaptchaImageVo, any, {}>>;
|
|
1467
|
+
};
|
|
1468
|
+
admin: {
|
|
1469
|
+
/**
|
|
1470
|
+
* No description
|
|
1471
|
+
*
|
|
1472
|
+
* @tags 管理员模块
|
|
1473
|
+
* @name AdminUpdatePost
|
|
1474
|
+
* @summary 更新管理员信息
|
|
1475
|
+
* @request POST:/admin/update
|
|
1476
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1477
|
+
*/
|
|
1478
|
+
adminUpdatePost: (data: AdminUpdateReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1479
|
+
/**
|
|
1480
|
+
* No description
|
|
1481
|
+
*
|
|
1482
|
+
* @tags 管理员模块
|
|
1483
|
+
* @name AdminUpdatePhonePost
|
|
1484
|
+
* @summary 修改手机号码
|
|
1485
|
+
* @request POST:/admin/update/phone
|
|
1486
|
+
* @response `200` `ResponseMsgString` OK
|
|
1487
|
+
*/
|
|
1488
|
+
adminUpdatePhonePost: (data: AdminUpdatePhoneReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgString, any, {}>>;
|
|
1489
|
+
/**
|
|
1490
|
+
* @description 登出当前登录的管理员
|
|
1491
|
+
*
|
|
1492
|
+
* @tags 管理员模块
|
|
1493
|
+
* @name AdminLogoutPost
|
|
1494
|
+
* @summary 登出
|
|
1495
|
+
* @request POST:/admin/logout
|
|
1496
|
+
* @response `200` `ResponseMsgString` OK
|
|
1497
|
+
*/
|
|
1498
|
+
adminLogoutPost: (params?: RequestParams) => Promise<AxiosResponse<ResponseMsgString, any, {}>>;
|
|
1499
|
+
/**
|
|
1500
|
+
* No description
|
|
1501
|
+
*
|
|
1502
|
+
* @tags 管理员模块
|
|
1503
|
+
* @name AdminLoginPhonePost
|
|
1504
|
+
* @summary 通过手机验证登录
|
|
1505
|
+
* @request POST:/admin/login/phone
|
|
1506
|
+
* @response `200` `ResponseMsgAdminLoginRespVo` OK
|
|
1507
|
+
*/
|
|
1508
|
+
adminLoginPhonePost: (data: AdminLoginReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgAdminLoginRespVo, any, {}>>;
|
|
1509
|
+
/**
|
|
1510
|
+
* No description
|
|
1511
|
+
*
|
|
1512
|
+
* @tags 管理员模块
|
|
1513
|
+
* @name AdminDeletePost
|
|
1514
|
+
* @summary 删除管理员(软删除)
|
|
1515
|
+
* @request POST:/admin/delete
|
|
1516
|
+
* @response `200` `ResponseMsgObject` OK
|
|
1517
|
+
*/
|
|
1518
|
+
adminDeletePost: (query: {
|
|
1519
|
+
/** 管理员id,多个请用,隔开 */
|
|
1520
|
+
adminIds: string;
|
|
1521
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgObject, any, {}>>;
|
|
1522
|
+
/**
|
|
1523
|
+
* No description
|
|
1524
|
+
*
|
|
1525
|
+
* @tags 管理员模块
|
|
1526
|
+
* @name AdminCreatePost
|
|
1527
|
+
* @summary 创建管理员
|
|
1528
|
+
* @request POST:/admin/create
|
|
1529
|
+
* @response `200` `ResponseMsgAdminVo` OK
|
|
1530
|
+
*/
|
|
1531
|
+
adminCreatePost: (data: AdminCreateReqVo, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgAdminVo, any, {}>>;
|
|
1532
|
+
/**
|
|
1533
|
+
* No description
|
|
1534
|
+
*
|
|
1535
|
+
* @tags 管理员模块
|
|
1536
|
+
* @name AdminListGet
|
|
1537
|
+
* @summary 获取管理员列表
|
|
1538
|
+
* @request GET:/admin/list
|
|
1539
|
+
* @response `200` `ResponseMsgPageDataAdminVo` OK
|
|
1540
|
+
*/
|
|
1541
|
+
adminListGet: (query: {
|
|
1542
|
+
param: AdminListReqVo;
|
|
1543
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgPageDataAdminVo, any, {}>>;
|
|
1544
|
+
/**
|
|
1545
|
+
* No description
|
|
1546
|
+
*
|
|
1547
|
+
* @tags 管理员模块
|
|
1548
|
+
* @name AdminGetGet
|
|
1549
|
+
* @summary 获取指定管理员信息
|
|
1550
|
+
* @request GET:/admin/get
|
|
1551
|
+
* @response `200` `ResponseMsgAdminVo` OK
|
|
1552
|
+
*/
|
|
1553
|
+
adminGetGet: (query?: {
|
|
1554
|
+
/**
|
|
1555
|
+
* 为空时,表示自己
|
|
1556
|
+
* @format int64
|
|
1557
|
+
*/
|
|
1558
|
+
id?: number;
|
|
1559
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgAdminVo, any, {}>>;
|
|
1560
|
+
};
|
|
1561
|
+
common: {
|
|
1562
|
+
/**
|
|
1563
|
+
* No description
|
|
1564
|
+
*
|
|
1565
|
+
* @tags 通用模块
|
|
1566
|
+
* @name CommonEnumListGet
|
|
1567
|
+
* @summary 获取枚举列表,多个请用,隔开
|
|
1568
|
+
* @request GET:/common/enum/list
|
|
1569
|
+
* @response `200` `ResponseMsgListEnumVo` OK
|
|
1570
|
+
*/
|
|
1571
|
+
commonEnumListGet: (query: {
|
|
1572
|
+
/** 枚举列表请求参数 */
|
|
1573
|
+
param: EnumListReqVo;
|
|
1574
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ResponseMsgListEnumVo, any, {}>>;
|
|
1575
|
+
};
|
|
1576
|
+
}
|