fix:网站设置/基本设置/支付设置/验证码设置
This commit is contained in:
@@ -19,7 +19,6 @@ class BaseConfig implements SimpleForm
|
||||
'recommend_commission_2' => 'nullable|integer',
|
||||
'member_pay_commission_1' => 'nullable|integer', // 一级邀请人消费提成 1%
|
||||
'member_pay_commission_2' => 'nullable|integer', // 二级邀请人消费提成 1%
|
||||
'send_code_mode' => 'required|integer|in:1,2', // 1短信2邮箱
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ class VerifyCode implements SimpleForm
|
||||
public function policy(Request $request): array
|
||||
{
|
||||
return $request->validate([
|
||||
'verify_code_is_open' => 'nullable|boolen',
|
||||
'send_code_mode' => 'nullable',
|
||||
'verify_code_is_open' => 'required|boolen',
|
||||
'send_code_mode' => 'nullable|integer|in:1,2', // 1短信2邮箱
|
||||
'ali_sms_key' => 'nullable',
|
||||
'ali_sms_secret' => 'nullable',
|
||||
'ali_sms_sign_name' => 'nullable',
|
||||
|
||||
Reference in New Issue
Block a user