From efd2f8bb0856bdbcac265a5a28d70b2d155a9522 Mon Sep 17 00:00:00 2001
From: zhangmeng <1810979988@qq.com>
Date: Tue, 18 Apr 2023 18:48:48 +0800
Subject: [PATCH] 兑换时改成只输入卡号,不验证密码

---
 plugins/exchange/forms/mall/RecordForm.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/exchange/forms/mall/RecordForm.php b/plugins/exchange/forms/mall/RecordForm.php
index f66b4e7..f23eeb0 100644
--- a/plugins/exchange/forms/mall/RecordForm.php
+++ b/plugins/exchange/forms/mall/RecordForm.php
@@ -28,7 +28,7 @@
     public function rules()
     {
         return [
-            [['code'], 'required'],
+            [['code'], 'string'],
             [['user_id'], 'integer'],
             [['code', 'token', 'name', 'mobile','card_no','address','card_platform'], 'string'],
         ];

--
Gitblit v1.8.0