chore: 重写初始提交(清空历史,整理后全量提交)

This commit is contained in:
ywxapp
2026-08-16 16:54:14 +08:00
commit 6c1a106bc1
1808 changed files with 238144 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace app\member\validate;
use think\Validate;
/**
* 会员卡密兑换校验
*/
class Card extends Validate
{
protected $rule = [
'cardno' => 'require|length:6,100',
'password' => 'require|length:4,100',
];
protected $message = [
'cardno.require' => '请输入卡号',
'cardno.length' => '卡号格式不正确',
'password.require' => '请输入密码',
'password.length' => '密码格式不正确',
];
protected $scene = [
'redeem' => ['cardno', 'password'],
];
}