{"size": 1248, "ext": "js", "max_stars_repo_path": "uni_modules/QS-UI/js/functions/getSys.js", "max_stars_repo_name": "HuLuoQian/QS-UI", "max_stars_repo_stars_event_min_datetime": "2021-08-31T08:29:22.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-16T01:50:36.000Z", "max_issues_repo_path": "uni_modules/QS-UI/js/functions/getSys.js", "max_issues_repo_name": "HuLuoQian/QS-UI", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "uni_modules/QS-UI/js/functions/getSys.js", "max_forks_repo_name": "HuLuoQian/QS-UI", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.0, "max_line_length": 63, "alphanum_fraction": 0.702724359}
import VALUES from '@/QS-UI-CONFIG/config/values.js';
module.exports = function() {	//获取系统信息，增加H5BrowserType字段
	const data = uni.getSystemInfoSync();
	// #ifdef H5
	data.uniappPlatform = VALUES.uniappPlatform['H5'];
	if (/MicroMessenger/.test(window.navigator.userAgent)) { 
		data.H5BrowserType = VALUES.H5BrowserType.weixin;
	} else if (/AlipayClient/.test(window.navigator.userAgent)) { 
		data.H5BrowserType = VALUES.H5BrowserType.ali;
	} else {
		data.H5BrowserType = VALUES.H5BrowserType.other;
	}
	// #endif
	// #ifndef H5
	data.H5BrowserType = VALUES.H5BrowserType.notH5;
		// #ifdef APP-PLUS
		data.uniappPlatform = VALUES.uniappPlatform['APP-PLUS'];
		// #endif
		// #ifdef MP-WEIXIN
		data.uniappPlatform = VALUES.uniappPlatform['MP-WEIXIN'];
		// #endif
		// #ifdef MP-ALIPAY
		data.uniappPlatform = VALUES.uniappPlatform['MP-ALIPAY'];
		// #endif
		// #ifdef MP-BAIDU
		data.uniappPlatform = VALUES.uniappPlatform['MP-BAIDU'];
		// #endif
		// #ifdef MP-TOUTIAO
		data.uniappPlatform = VALUES.uniappPlatform['MP-TOUTIAO'];
		// #endif
		// #ifdef MP-QQ
		data.uniappPlatform = VALUES.uniappPlatform['MP-QQ'];
		// #endif
		// #ifdef MP-360
		data.uniappPlatform = VALUES.uniappPlatform['MP-360'];
		// #endif
	// #endif
	return data;
}