|
@@ -1231,7 +1231,7 @@ EOT;
|
|
|
$form->action(route('audit.pass'));
|
|
|
$form->disableReset();
|
|
|
$form->hidden('id', 'ID')->default($id);
|
|
|
- $form->html('<div>重置的新密码为Aa123456,是否重置?</div>');
|
|
|
+ $form->html('<div>重置的新密码为Aa12345678,是否重置?</div>');
|
|
|
return json_encode(['html'=>$form->render(),'detail'=>'重置密码']);
|
|
|
}
|
|
|
|
|
@@ -1243,13 +1243,13 @@ EOT;
|
|
|
admin_toastr('数据异常', 'error');
|
|
|
return back();
|
|
|
}
|
|
|
- $result = Company::whereIn('id', $arr)->update(['password'=>\Hash::make('Aa123456')]);
|
|
|
+ $result = Company::whereIn('id', $arr)->update(['password'=>\Hash::make('Aa12345678')]);
|
|
|
if ($result) {
|
|
|
admin_toastr('重置成功', 'success');
|
|
|
foreach ($arr as $key => $val) {
|
|
|
$company = Company::findOrFail($val);
|
|
|
if ($company->mobile) {
|
|
|
- $this->smsService->sendSms($company->mobile, Smser::TEMPLATE_SMS_EDITPWD, ['sitename'=>config('aix.system.site.site.site_name'),'newpassword'=>'123456']);
|
|
|
+ $this->smsService->sendSms($company->mobile, Smser::TEMPLATE_SMS_EDITPWD, ['sitename'=>config('aix.system.site.site.site_name'),'newpassword'=>'Aa12345678']);
|
|
|
}
|
|
|
}
|
|
|
} else {
|