/** * *单例模式 * */ public static function getInstance() { if (empty(self::$instance)) { self::$instance = new SqlTextDeal(); } return self::$instance; }