|
@@ -191,7 +191,7 @@ class EducationSchool extends AdminController {
|
|
|
|
|
|
$request = $this->request;
|
|
|
$user = $this->user;
|
|
|
- if (!in_array($user["type"], [1, 2])) {
|
|
|
+ if (!in_array($user["type"], [1, 2, 5, 6])) {
|
|
|
$response->msg = "当前账号类型没有操作权限";
|
|
|
return \StrUtil::back($response, "TalentInfo.callBack");
|
|
|
}
|
|
@@ -202,7 +202,7 @@ class EducationSchool extends AdminController {
|
|
|
$keys = array_filter(explode(",", $values)); //标题对应的字段
|
|
|
|
|
|
$where = [];
|
|
|
- $where[] = ["type", "=", $user["type"]];
|
|
|
+ //$where[] = ["type", "=", $user["type"]];
|
|
|
|
|
|
if ($_where = EducationApi::getWhereByParams($request->param())) {
|
|
|
$where = array_merge($where, $_where);
|