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