bug
colly_wyx
2018-05-09 f70b63d5f3644f4983c71ef59b7a48c115b72f1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
 
class UserModel extends System_Model_Base{
 
    public $table = "user";
    
    public function getInfoByPhone($phone){
        return $this->get(array('phone' => $phone));
        //return $this->fetchRow('user', array('username' => $username));
    }
 
    public function getUserList(){
        return $this->getList(array('username' => 'colly'));
    }
 
}