* change login method to bind.

This commit is contained in:
wangyidong
2012-02-22 08:48:42 +00:00
parent 39bbf97f0b
commit aeff25bb53
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ class adminModel extends model
* @access public
* @return void
*/
public function loginByAPI()
public function bindByAPI()
{
$apiURL = 'http://www.zentao.net/user-login.json';
return $this->postAPI($apiURL, $_POST);