/** * 供外界获取实例 * @return MySql */ public static function getIns() { if (self::$ins == false) { self::$ins = new self(); } return self::$ins; }