first commit
This commit is contained in:
18
pgserver/application/model/AccountManager.php
Normal file
18
pgserver/application/model/AccountManager.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use think\Db;
|
||||
|
||||
class AccountManager extends Base{
|
||||
|
||||
/**
|
||||
* 根据条件获取客户经理
|
||||
* @param $where 查询条件
|
||||
* @param $field 查询字段
|
||||
*/
|
||||
public function getAccountManager($where, $field){
|
||||
return Db::name('account_manager')->field($field)->where($where)->where(['is_delete'=>1])->select();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user