public static function init()
 {
     if (!self::ifUserLogined()) {
         Error::halt(10001, '???δ???');
         return false;
     }
     if (self::isAdmin()) {
         return true;
     } else {
         self::getAuthInfo();
         //????????????????
         Sys::D('Menu');
         $menu_id = MenuModel::getIdByActionAndModule(ACTION, MODULE);
         if ($menu_id) {
             return self::checkMenuAuth($menu_id);
         }
         Sys::D('GlobalRule');
         $menu_id = GlobalRuleModel::getIdByActionAndModule(ACTION, MODULE);
         return self::checkGlobalAuth($menu_id);
     }
 }