const commonParams = {
	g_tk: 1124214810,
	loginUin: global.userInfo?.uin || '0',
	hostUin: 0,
	inCharset: 'utf8',
	outCharset: 'utf-8',
	// format: 'json',
	notice: 0,
	platform: 'yqq.json',
	needNewCode: 0,
};

const _guid = (Math.round(2147483647 * Math.random()) * new Date().getUTCMilliseconds()) % 1e10;

const options = {
	param: 'jsonpCallback',
	prefix: 'tan',
	// prefix: 'jp',
};

const optionsPrefix = {
	param: 'jsonpCallback',
	prefix: 'playlistinfoCallback',
};

module.exports = {
	commonParams,
	_guid,
	options,
	optionsPrefix,
};
