* finish task #2363,2364.

This commit is contained in:
wangyidong
2015-11-05 17:27:59 +08:00
parent 015401d1e0
commit e003ed01f0
14 changed files with 245 additions and 5 deletions
+12
View File
@@ -781,6 +781,18 @@ class userModel extends model
$this->dao->update(TABLE_USER)->set('fails')->eq(0)->set('locked')->eq('0000-00-00 00:00:00')->where('account')->eq($account)->exec();
}
/**
* Unbind Ranzhi
*
* @param string $account
* @access public
* @return void
*/
public function unbind($account)
{
$this->dao->update(TABLE_USER)->set('bindRanzhi')->eq('')->where('account')->eq($account)->exec();
}
/**
* Get contact list of a user.
*