pull/1/head
旭晓耿 4 years ago
parent 683de68348
commit a2c2006e0b

@ -400,7 +400,6 @@ class User extends Common
$this->error = '直属上级不能是自己或下属'; $this->error = '直属上级不能是自己或下属';
return false; return false;
} }
p(2333);
if (db('admin_user')->where(['id' => ['neq',$id],'username' => $param['username']])->find()) { if (db('admin_user')->where(['id' => ['neq',$id],'username' => $param['username']])->find()) {
$this->error = '手机号已存在'; $this->error = '手机号已存在';
return false; return false;

@ -11,6 +11,14 @@ class ExamineLogic extends Common
{ {
private $statusArr = ['0' => '待审核', '1' => '审核中', '2' => '审核通过', '3' => '已拒绝', '4' => '已撤回']; private $statusArr = ['0' => '待审核', '1' => '审核中', '2' => '审核通过', '3' => '已拒绝', '4' => '已撤回'];
/**
* 导入数据查询
* @param $request
*
* @author alvin guogaobo
* @version 1.0 版本号
* @since 2021/2/27 0027 17:34
*/
public function getDataList($request) public function getDataList($request)
{ {
$userModel = new \app\admin\model\User(); $userModel = new \app\admin\model\User();

Loading…
Cancel
Save