* add ping method in openmethod list.

This commit is contained in:
wyd621
2013-09-28 07:03:08 +00:00
parent d3c3bd0c33
commit 7980141a0e
+1
View File
@@ -146,6 +146,7 @@ class commonModel extends model
{
if($module == 'user' and strpos('login|logout|deny', $method) !== false) return true;
if($module == 'api' and $method == 'getsessionid') return true;
if($module == 'misc' and $method == 'ping') return true;
if($module == 'sso' and strpos('auth|depts|users', $method) !== false) return true;
if($this->loadModel('user')->isLogon())