post(); $data['org_id'] = $orgId; return $this->updateInfo($data, $this->validateName, ''); } public function getList($orgId){ $map[] = ['org_id','=',$orgId]; $map[] = ['del','=',0]; $map[] = ['enable','=',1]; $lists = Db::name($this->table) ->where($map) ->select(); return $lists; } }