Commit e9b4bd39 authored by hujun's avatar hujun

取消注释,接口过滤

parent a0cd037b
......@@ -67,7 +67,11 @@ class Basic extends Controller
'index/yindaoAndroid',
'index/yindaoIos',
'index/getUserMacAddress',
'index/getConfigWeek'
'index/getConfigWeek',
'index/followUpLogNew',
'index/followUpLog',
'index/userLog',
'index/userDetail'
);
/**
......@@ -155,6 +159,7 @@ class Basic extends Controller
$is_auth = $agents->agentsAuth($auth_id, $this->userId);
$is_auth = empty($is_auth['id']) ? 0:1;
$agent_house = new GHousesToAgents();
if ($is_auth == 0) {
//处理盘方编辑商铺
if ($requestPath == 'index/houseEdit' && isset($this->params['id'])) {
......@@ -221,7 +226,7 @@ class Basic extends Controller
if (empty($is_auth) && $this->userId != 1) {
if($this->request->isAjax()){
//echo json_encode(array( "code" => "300", "msg" => "没有权限!", "data" => [], "type" => "json" ));exit;
echo json_encode(array( "code" => "300", "msg" => "没有权限!", "data" => [], "type" => "json" ));exit;
} else {
$this->error('没有当前页面权限');exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment