adjust code.

This commit is contained in:
wangyidong
2016-05-04 14:59:39 +08:00
parent d27aa31723
commit 5d70ec7e35
28 changed files with 123 additions and 114 deletions
+1
View File
@@ -71,6 +71,7 @@ class userModel extends model
*/
public function getPairs($params = '', $usersToAppended = '')
{
if(defined('TUTORIAL')) return $this->loadModel('tutorial')->getUserPairs();
/* Set the query fields and orderBy condition.
*
* If there's xxfirst in the params, use INSTR function to get the position of role fields in a order string,