12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace Cas\Dao;
- use KIF\Dao\DBAgileDev;
- use KIF\Core\Request;
- class LotteryUserExpress extends DBAgileDev {
- protected $tableName = 'lottery_user_express';
-
-
- protected $other_field = array(
- 'uid',
- 'phone',
- 'address',
- 'user_name',
- 'sex',
- );
-
-
- public function getUserExpress($uid){
- $ids = $this->findIdsBy(array('uid' => $uid));
- if(empty($ids)){
- return false;
- }
- $id = array_pop($ids);
- return $this->get($id);
- }
-
-
- }
|