示例#1
0
文件: WheelApi.php 项目: romeo14/pow
 public static function hasWheel($userId)
 {
     $wheel = Wheel::model()->find('user_id=:userId', array(':userId' => $userId));
     if ($wheel) {
         return true;
     } else {
         return false;
     }
 }