config.uts 1.5 KB
Newer Older
A
Anne_LXM 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
export default {
  "debug":true,
  "agreements":{
    "serviceUrl": "https://uniapp.dcloud.io/", // 用户服务协议链接
    "privacyUrl": "https://uniapp.dcloud.io/", // 隐私政策条款链接
    /*
    * 哪些场景下显示
    * 1. register注册(包括登录并注册,如:短信验证码登录,一键登录)
    * 2. login登录(如:用户名密码登录,短信验证码登录)
    */
    "scopeList": [
      "register","login","realNameVerify","univerify"
    ]
  },
  "loginTypes":[
    "smsCode",
    // #ifdef APP && uniVersion >= 3.98
    "univerify",
    // #endif
    "username",
    // 以下登录方式 uni-app x 暂不支持
DCloud_JSON's avatar
DCloud_JSON 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35
    /*
      "qq",
      "xiaomi",
      "sinaweibo",
      "taobao",
      "facebook",
      "google",
      "alipay",
      "douyin",
      "weixin",
      // #ifdef APP
      "univerify",
      "apple"
      // #endif
A
Anne_LXM 已提交
36 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