config.js 903 字节
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1 2 3 4 5 6 7
export default {
	//调试模式
	"debug": true,
	/*
		登录类型 未列举到的或运行环境不支持的,将被自动隐藏。
		如果需要在不同平台有不同的配置,直接用条件编译即可
	*/
DCloud_JSON's avatar
1.0.0  
DCloud_JSON 已提交
8 9 10 11 12 13 14 15 16 17
	"loginTypes": [
		// "qq",
		// "xiaomi",
		// "sinaweibo",
		// "taobao",
		// "facebook",
		// "google",
		// "alipay",
		// "douyin",
		
DCloud_JSON's avatar
DCloud_JSON 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
		// #ifdef APP
		"univerify",
		// #endif
		// #ifndef H5
		"weixin",
		// #endif
		"username",
		// #ifdef APP
		"apple",
		// #endif
		"smsCode"
	],
	//政策协议
	"agreements": {
		"serviceUrl": "https://xxx", //用户服务协议链接
		"privacyUrl": "https://xxx", //隐私政策条款链接
DCloud_JSON's avatar
1.0.0  
DCloud_JSON 已提交
34
		// 哪些场景下显示,1.注册(包括登录并注册,如:微信登录、苹果登录、短信验证码登录)、2.登录(如:用户名密码登录)
DCloud_JSON's avatar
DCloud_JSON 已提交
35 36
		"scope": ['register', 'login']
	}
DCloud_JSON's avatar
1.0.0  
DCloud_JSON 已提交
37
}