合同模块第一次上错误附件无法保存的问题修复
This commit is contained in:
parent
b845b2af28
commit
96fbe7d219
@ -149,7 +149,7 @@
|
||||
</td>
|
||||
<td colspan="5" style="line-height:inherit">
|
||||
<div class="layui-row" id="fileBox">
|
||||
<input type="hidden" id="fileBoxInput" name="file_ids" value="">
|
||||
<input type="hidden" id="fileBoxInput" data-type="file" name="file_ids" value="">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -311,7 +311,14 @@ class Index extends BaseController
|
||||
public function edit_password()
|
||||
{
|
||||
if (request()->isAjax()) {
|
||||
$param = get_params();
|
||||
|
||||
//下面部分代码可删除--------------
|
||||
if($_SERVER['HTTP_HOST']=='oa.gougucms.com'){
|
||||
return to_assign(1, 'Bad Man,为什么总想着改别人的密码?已记录IP,抓住你了!');
|
||||
}
|
||||
//上面部分代码可删除--------------
|
||||
|
||||
$param = get_params();
|
||||
try {
|
||||
validate(AdminCheck::class)->scene('editPwd')->check($param);
|
||||
} catch (ValidateException $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user