|
@@ -1,7 +1,8 @@
|
|
|
import {
|
|
|
All,
|
|
|
ALL,
|
|
|
- Body, Del,
|
|
|
+ Body,
|
|
|
+ Del,
|
|
|
Get,
|
|
|
Inject,
|
|
|
Param,
|
|
@@ -14,6 +15,8 @@ import { BaseController, CoolController } from '@cool-midway/core';
|
|
|
import { Context } from 'vm';
|
|
|
import { IndividualEntity } from '../../payment/entity/individual';
|
|
|
import { EasyPayAdapter } from '../../payment/adapter/easypay.adapter';
|
|
|
+import { EasyOpenService } from '../service/open';
|
|
|
+import { OrderType } from '../entity/open_payment_order';
|
|
|
|
|
|
/**
|
|
|
* 客户管理
|
|
@@ -27,6 +30,18 @@ export class OpenApiController extends BaseController {
|
|
|
@Inject()
|
|
|
easyPayAdapter: EasyPayAdapter;
|
|
|
|
|
|
+ @Inject()
|
|
|
+ easyOpenService: EasyOpenService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 生成sign
|
|
|
+ */
|
|
|
+ @Post('/sign', { summary: '创建sign' })
|
|
|
+ async createSign(@Body(ALL) userBody: any) {
|
|
|
+ const { params, timestamp, nonce, secret } = userBody;
|
|
|
+ return this.easyOpenService.createSign(params, timestamp, nonce, secret);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 创建账户
|
|
|
*/
|
|
@@ -34,7 +49,9 @@ export class OpenApiController extends BaseController {
|
|
|
async createPayInOrder(@Body(ALL) params: any) {
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ this.easyOpenService.save_user(res, params);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -99,7 +116,9 @@ export class OpenApiController extends BaseController {
|
|
|
async applications(@Body() params: any) {
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ this.easyOpenService.save_user_account(res, params);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -148,16 +167,11 @@ export class OpenApiController extends BaseController {
|
|
|
*/
|
|
|
@Post('/v3/acquiring/payments', { summary: '创建支付订单' })
|
|
|
async CreatedAcquiringPayments(@Body() params: any) {
|
|
|
- // Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
|
-
|
|
|
- console.log('Request Method:', method);
|
|
|
- console.log('Request Path:', path);
|
|
|
- console.log('Request params:', params);
|
|
|
- // console.log(typeof params)
|
|
|
- // return `${method}, ${path}, ${params}`
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ this.easyOpenService.save_user_order(res, params, OrderType.ACQUIRING_PAYMENT);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -178,9 +192,9 @@ export class OpenApiController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 查询支付单
|
|
|
+ * 取消支付单
|
|
|
*/
|
|
|
- @Post('/v3/acquiring/payments/:id/cancel', { summary: '查询支付单' })
|
|
|
+ @Post('/v3/acquiring/payments/:id/cancel', { summary: '取消支付单' })
|
|
|
async cancelAcquiringPayments(@Param('id') id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
@@ -210,8 +224,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 退款
|
|
|
*/
|
|
@@ -226,7 +238,9 @@ export class OpenApiController extends BaseController {
|
|
|
console.log('Request params:', params);
|
|
|
// console.log(typeof params)
|
|
|
// return `${method}, ${path}, ${params}`
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ this.easyOpenService.save_user_order(res, params, OrderType.ACQUIRING_REFUND);
|
|
|
+ return res;
|
|
|
}
|
|
|
/**
|
|
|
* 查询退款
|
|
@@ -326,9 +340,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 查询入账列表
|
|
|
*/
|
|
@@ -382,7 +393,7 @@ export class OpenApiController extends BaseController {
|
|
|
* 查询汇率
|
|
|
*/
|
|
|
@Get('/v1/exchange_rates', { summary: '入账凭证下载' })
|
|
|
- async exchange_ratesInfo( @Query() params: any) {
|
|
|
+ async exchange_ratesInfo(@Query() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -398,27 +409,24 @@ export class OpenApiController extends BaseController {
|
|
|
* 创建换汇订单
|
|
|
*/
|
|
|
@Post('/v1/exchanges', { summary: '创建换汇订单' })
|
|
|
- async createdExchanges( @Query() params: any) {
|
|
|
+ async createdExchanges(@Query() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
|
-
|
|
|
- console.log('Request Method:', method);
|
|
|
- console.log('Request Path:', path);
|
|
|
-
|
|
|
// console.log(typeof params)
|
|
|
// return `${method}, ${path}, ${params}`
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ console.log('Request Method:', method);
|
|
|
+ console.log('Request Path:', path);
|
|
|
+ this.easyOpenService.save_user_order(res, params, OrderType.CURRENCY_EXCHANGE);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 查询换汇订单列表
|
|
|
*/
|
|
|
@Get('/v1/exchanges', { summary: '查询换汇订单列表' })
|
|
|
- async exchangesList( @Query() params: any) {
|
|
|
+ async exchangesList(@Query() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -431,13 +439,11 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 查询换汇订单
|
|
|
*/
|
|
|
@Get('/v1/exchanges/:id', { summary: '查询换汇订单' })
|
|
|
- async exchangesInfo( @Param() id: any) {
|
|
|
+ async exchangesInfo(@Param() id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -450,30 +456,27 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 付款
|
|
|
*/
|
|
|
@Post('/v1/payments', { summary: '付款' })
|
|
|
- async createdPayments( @Body() params: any) {
|
|
|
+ async createdPayments(@Body() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
|
|
|
|
console.log('Request Method:', method);
|
|
|
console.log('Request Path:', path);
|
|
|
-
|
|
|
- // console.log(typeof params)
|
|
|
- // return `${method}, ${path}, ${params}`
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ this.easyOpenService.save_user_order(res, params, OrderType.PAYMENT);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 查询付款列表
|
|
|
*/
|
|
|
@Get('/v1/payments', { summary: '查询付款列表' })
|
|
|
- async getPaymentsList( @Query() params: any) {
|
|
|
+ async getPaymentsList(@Query() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -486,12 +489,11 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 查询付款
|
|
|
*/
|
|
|
@Get('/v1/payments/:id', { summary: '查询付款' })
|
|
|
- async paymentsInfo( @Param() id: any) {
|
|
|
+ async paymentsInfo(@Param() id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -508,7 +510,7 @@ export class OpenApiController extends BaseController {
|
|
|
* 补充材料
|
|
|
*/
|
|
|
@Post('/v1/payments/:id/documents', { summary: '补充材料' })
|
|
|
- async putPaymentsDocuments( @Param() id: any, @Body() params: any) {
|
|
|
+ async putPaymentsDocuments(@Param() id: any, @Body() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -521,14 +523,11 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 付款凭证下载
|
|
|
*/
|
|
|
@Get('/v1/payments/proof', { summary: '付款凭证下载' })
|
|
|
- async paymentsProof( @Query() params: any) {
|
|
|
+ async paymentsProof(@Query() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -541,13 +540,11 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 转账
|
|
|
*/
|
|
|
@Post('/v1/transfers', { summary: '转账' })
|
|
|
- async transfers( @Body() params: any) {
|
|
|
+ async transfers(@Body() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -557,16 +554,16 @@ export class OpenApiController extends BaseController {
|
|
|
|
|
|
// console.log(typeof params)
|
|
|
// return `${method}, ${path}, ${params}`
|
|
|
- return await this.easyPayAdapter.request(method, path, params);
|
|
|
+ const res = await this.easyPayAdapter.request(method, path, params);
|
|
|
+ this.easyOpenService.save_user_order(res, params, OrderType.TRANSFER);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 查询转账列表
|
|
|
*/
|
|
|
@Get('/v1/transfers', { summary: '查询转账列表' })
|
|
|
- async transfersList( @Query() params: any) {
|
|
|
+ async transfersList(@Query() params: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -579,13 +576,11 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 查询转账
|
|
|
*/
|
|
|
@Get('/v1/transfers/:id', { summary: '查询转账' })
|
|
|
- async transfersInfo( @Param() id: any) {
|
|
|
+ async transfersInfo(@Param() id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -598,13 +593,14 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 查询账户流水
|
|
|
*/
|
|
|
@Get('/v3/accounts/:account_id/transactions', { summary: '查询账户流水' })
|
|
|
- async accountsTransactionsInfo( @Param() account_id: any, @Query() params: any) {
|
|
|
+ async accountsTransactionsInfo(
|
|
|
+ @Param() account_id: any,
|
|
|
+ @Query() params: any
|
|
|
+ ) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -617,12 +613,16 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 根据 transaction ID 查询
|
|
|
*/
|
|
|
- @Get('/v3/accounts/:account_id/transactions/:id', { summary: '根据 transaction ID 查询' })
|
|
|
- async accountsTransactionsInfoByAccount_id( @Param() account_id: any,@Param() id: any) {
|
|
|
+ @Get('/v3/accounts/:account_id/transactions/:id', {
|
|
|
+ summary: '根据 transaction ID 查询',
|
|
|
+ })
|
|
|
+ async accountsTransactionsInfoByAccount_id(
|
|
|
+ @Param() account_id: any,
|
|
|
+ @Param() id: any
|
|
|
+ ) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
|
const path = this.ctx.path;
|
|
@@ -635,7 +635,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 查询实名更新请求列表
|
|
|
*/
|
|
@@ -653,7 +652,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 提交实名更新
|
|
|
*/
|
|
@@ -671,7 +669,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 收款人信息校验
|
|
|
*/
|
|
@@ -689,7 +686,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 通过实名
|
|
|
*/
|
|
@@ -707,11 +703,12 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 通过实名更新
|
|
|
*/
|
|
|
- @Post('/v3/simulate/legal_entity_requests/:id/confirm', { summary: '通过实名更新' })
|
|
|
+ @Post('/v3/simulate/legal_entity_requests/:id/confirm', {
|
|
|
+ summary: '通过实名更新',
|
|
|
+ })
|
|
|
async simulateLegal_entity_requestsConfirm(@Param() id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
@@ -725,7 +722,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 驳回实名
|
|
|
*/
|
|
@@ -743,7 +739,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 创建实名更新
|
|
|
*/
|
|
@@ -777,11 +772,12 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 拒绝更新请求
|
|
|
*/
|
|
|
- @Post('/v3/simulate/legal_entity_requests/:id/reject', { summary: '拒绝更新请求' })
|
|
|
+ @Post('/v3/simulate/legal_entity_requests/:id/reject', {
|
|
|
+ summary: '拒绝更新请求',
|
|
|
+ })
|
|
|
async simulateLegal_entity_requestsReject(@Param('id') id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
@@ -795,11 +791,12 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 收款账户审核通过
|
|
|
*/
|
|
|
- @Post('/v3/simulate/applications/:id/confirm', { summary: '收款账户审核通过' })
|
|
|
+ @Post('/v3/simulate/applications/:id/confirm', {
|
|
|
+ summary: '收款账户审核通过',
|
|
|
+ })
|
|
|
async simulateApplicationsConfirm(@Param('id') id: any) {
|
|
|
// Access the request method and path
|
|
|
const method = this.ctx.method;
|
|
@@ -813,7 +810,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 收款账户审核驳回
|
|
|
*/
|
|
@@ -831,7 +827,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 通过付款
|
|
|
*/
|
|
@@ -849,7 +844,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, {});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 拒绝付款
|
|
|
*/
|
|
@@ -1062,10 +1056,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收款账户申请成功
|
|
|
*/
|
|
@@ -1083,10 +1073,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收款账户申请失败
|
|
|
*/
|
|
@@ -1104,10 +1090,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收款账户信息变更
|
|
|
*/
|
|
@@ -1125,10 +1107,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收单支付成功通知
|
|
|
*/
|
|
@@ -1146,10 +1124,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收单退款成功通知
|
|
|
*/
|
|
@@ -1167,9 +1141,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收单退款失败通知
|
|
|
*/
|
|
@@ -1187,8 +1158,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 入账成功
|
|
|
*/
|
|
@@ -1206,7 +1175,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 换汇成功
|
|
|
*/
|
|
@@ -1224,7 +1192,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 换汇失败
|
|
|
*/
|
|
@@ -1242,9 +1209,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 收款账户已下发
|
|
|
*/
|
|
@@ -1262,9 +1226,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 付款成功
|
|
|
*/
|
|
@@ -1282,9 +1243,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 付款失败
|
|
|
*/
|
|
@@ -1302,9 +1260,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 付款银行退回
|
|
|
*/
|
|
@@ -1322,8 +1277,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 转账成功
|
|
|
*/
|
|
@@ -1341,7 +1294,6 @@ export class OpenApiController extends BaseController {
|
|
|
return await this.easyPayAdapter.request(method, path, params);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 转账失败
|
|
|
*/
|