/** * PlatFormModel::initDB() * 返回数据库连接 * @return */ public static function initDB() { global $dbConn; self::$dbConn = $dbConn; self::$prefix = C('DB_PREFIX'); }