维护用户自动分配用户

This commit is contained in:
wanyongkang
2020-11-17 14:30:54 +08:00
parent 6f855854f3
commit 5295c13f73
4 changed files with 360 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
/*
* @Descripttion:
* @version:
* @Author: kangkang
* @Date: 2020-10-16 14:44:02
* @LastEditors: kangkang
* @LastEditTime: 2020-11-14 10:00:42
*/
namespace app\manager\model;
use fastphp\base\Model;
class Manager extends Model
{
protected $table = 'manager';
public function getAllList($where = []){
return $this->field('id,RealName')->where($where)->where(['IsRoot'=>0,'RoleId'=>100])->fetchAll();
}
}