config.uts 1.4 KB
Newer Older
DCloud_JSON's avatar
init  
DCloud_JSON 已提交
1 2 3 4 5
export default {
  "debug":true,
  "agreements":{
    "serviceUrl": "https://uniapp.dcloud.io/", // 用户服务协议链接
    "privacyUrl": "https://uniapp.dcloud.io/", // 隐私政策条款链接
crlfe's avatar
crlfe 已提交
6
    /*
DCloud_JSON's avatar
init  
DCloud_JSON 已提交
7 8 9 10 11
    * 哪些场景下显示
    * 1. register注册(包括登录并注册,如:短信验证码登录,一键登录)
    * 2. login登录(如:用户名密码登录,短信验证码登录)
    */
    "scopeList": [
DCloud_JSON's avatar
DCloud_JSON 已提交
12
      "register","login","realNameVerify","univerify"
DCloud_JSON's avatar
init  
DCloud_JSON 已提交
13 14 15
    ]
  },
  "loginTypes":[
A
Anne_LXM 已提交
16
    "smsCode",
DCloud_JSON's avatar
DCloud_JSON 已提交
17 18 19 20
    // #ifdef APP && ( uniVersion > 3.99 || uniVersion == 3.99)
    "univerify",
    // #endif
    "username",
DCloud_JSON's avatar
init  
DCloud_JSON 已提交
21
    // 以下登录方式 uni-app x 暂不支持
DCloud_JSON's avatar
DCloud_JSON 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
    /*
      "qq",
      "xiaomi",
      "sinaweibo",
      "taobao",
      "facebook",
      "google",
      "alipay",
      "douyin",
      "weixin",
      // #ifdef APP
      "univerify",
      "apple"
      // #endif
    */
DCloud_JSON's avatar
init  
DCloud_JSON 已提交
37 38 39 40 41 42 43 44 45 46 47
  ],
  /**
   * 密码强度
   * super(超强:密码必须包含大小写字母、数字和特殊符号,长度范围:8-16位之间)
   * strong(强: 密密码必须包含字母、数字和特殊符号,长度范围:8-16位之间)
   * medium (中:密码必须为字母、数字和特殊符号任意两种的组合,长度范围:8-16位之间)
   * weak(弱:密码必须包含字母和数字,长度范围:6-16位之间)
   * 为空或false则不验证密码强度
   */
  passwordStrength: 'weak'
} as UTSJSONObject