编写单位管理
This commit is contained in:
1 parent
36000b876c
commit
25cc4897eb
16 files changed
+654
-106
No files matched your search
@@ -114,7 +114,7 @@ class Index extends Base
|
||||
|
||||
|
||||
// 获取表单数据
|
||||
$list = request()->only(['xingming','username','sex','shengri','phone','beizhu'],'post');
|
||||
$list = request()->only(['xingming','username','sex','shengri','phone','beizhu','group_id'],'post');
|
||||
|
||||
// 设置密码,默认为123456
|
||||
$list['password'] = $md5->hash('123456');
|
||||
@@ -124,6 +124,9 @@ class Index extends Base
|
||||
$result = $validate->check($list);
|
||||
$msg = $validate->getError();
|
||||
|
||||
unset($list['group_id']);
|
||||
|
||||
|
||||
|
||||
// 如果验证不通过则停止保存
|
||||
if(!$result){
|
||||
|
||||
Reference in new issue
Block a user