From 83b28e62eb86818b61a8f770020974b3dcf8efe9 Mon Sep 17 00:00:00 2001
From: yuanye <418471657@qq.com>
Date: Sun, 29 Sep 2024 15:19:38 +0800
Subject: [PATCH] 1
---
src/app/admin/api-merchants/list/list.component.html | 7 +++++++
src/app/admin/api-merchants/list/list.component.ts | 3 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/app/admin/api-merchants/list/list.component.html b/src/app/admin/api-merchants/list/list.component.html
index 4c53c76..3d3fc8a 100644
--- a/src/app/admin/api-merchants/list/list.component.html
+++ b/src/app/admin/api-merchants/list/list.component.html
@@ -161,6 +161,13 @@
+
+
+
+
+
+
+
验证码
diff --git a/src/app/admin/api-merchants/list/list.component.ts b/src/app/admin/api-merchants/list/list.component.ts
index 67bd4d7..b606385 100644
--- a/src/app/admin/api-merchants/list/list.component.ts
+++ b/src/app/admin/api-merchants/list/list.component.ts
@@ -103,6 +103,7 @@ export class ListComponent implements OnInit {
this.rechargeForm = this.form.group({
merchantId: [null, [Validators.required]],
amount: [null, [Validators.required]],
+ phone: [null, [Validators.required]],
smsCode: [null, [Validators.required]],
});
this.searchForm = this.form.group({
@@ -298,7 +299,7 @@ export class ListComponent implements OnInit {
this.rechargeForm.controls.merchantId.disable();
this.rechargeForm.controls.amount.disable();
- this.common.sendRechargeSmsCode('18090580471', this.rechargeParam['merchantId'], this.rechargeParam['amount'], data => {
+ this.common.sendRechargeSmsCode(this.rechargeForm.value['phone'], this.rechargeParam['merchantId'], this.rechargeParam['amount'], data => {
if (data['return_code'] === '000000') {
this.getVerifyCodeCountdown();
} else {