public function act_userPowerSearch($username) { $select = " power "; $where = " where user_name='{$username}'"; $res = AccountManageModel::getAccoutPower($select, $where); self::$errCode = AccountManageModel::$errCode; self::$errMsg = AccountManageModel::$errMsg; return $res[0]['power']; }