提交 f2eea22a 编写于 作者: DCloud_JSON's avatar DCloud_JSON

预置uniCloud admin依赖的uniCloud文件,方便uniCloud admin与uni-starter配套使用时免做文件迁移

上级 1435c9e2
## 1.0.25(2021-06-23)
预置uniCloud admin依赖的uniCloud文件,方便uniCloud admin与uni-starter配套使用时免做文件迁移
## 1.0.24(2021-06-23) ## 1.0.24(2021-06-23)
删除callFunction拦截器中多余的代码 删除callFunction拦截器中多余的代码
## 1.0.23(2021-06-22) ## 1.0.23(2021-06-22)
......
...@@ -235,7 +235,7 @@ export default function() { ...@@ -235,7 +235,7 @@ export default function() {
//获取用户的token //获取用户的token
const token = uni.getStorageSync('uni_id_token') const token = uni.getStorageSync('uni_id_token')
//token是否已失效 //token是否已失效
const tokenExpired = (uni.getStorageSync('uni_id_token_expired') - Date.now()) < 0 const tokenExpired = uni.getStorageSync('uni_id_token_expired') < Date.now()
//获取当前页面路径(即url去掉"?"和"?"后的参数) //获取当前页面路径(即url去掉"?"和"?"后的参数)
const url = e.url.split('?')[0] const url = e.url.split('?')[0]
//控制登录优先级 //控制登录优先级
......
{ {
"id": "uni-starter", "id": "uni-starter",
"displayName": "uni-starter", "displayName": "uni-starter",
"version": "1.0.24", "version": "1.0.25",
"description": "云端一体应用快速开发基本项目模版", "description": "云端一体应用快速开发基本项目模版",
"keywords": [ "keywords": [
"uni-starter", "uni-starter",
......
...@@ -24,7 +24,6 @@ let state = { ...@@ -24,7 +24,6 @@ let state = {
console.log('state.info',state.info); console.log('state.info',state.info);
//存储最新的用户数据到本地持久化存储 //存储最新的用户数据到本地持久化存储
uni.setStorageSync('userInfo', state.info); uni.setStorageSync('userInfo', state.info);
uni.setStorageSync('uni_id_uid', state.info._id)
uni.setStorageSync('uni_id_token', state.info.token) uni.setStorageSync('uni_id_token', state.info.token)
uni.setStorageSync('uni_id_token_expired', state.info.tokenExpired) uni.setStorageSync('uni_id_token_expired', state.info.tokenExpired)
...@@ -34,6 +33,7 @@ let state = { ...@@ -34,6 +33,7 @@ let state = {
state.hasLogin = false; state.hasLogin = false;
uni.setStorageSync('userInfo', {}); uni.setStorageSync('userInfo', {});
uni.setStorageSync('uni_id_token', ''); uni.setStorageSync('uni_id_token', '');
uni.setStorageSync('uni_id_token_expired', 0)
} }
}, },
actions = { actions = {
...@@ -44,4 +44,4 @@ export default { ...@@ -44,4 +44,4 @@ export default {
getters, getters,
mutations, mutations,
actions actions
} }
\ No newline at end of file
...@@ -26,7 +26,7 @@ module.exports = { ...@@ -26,7 +26,7 @@ module.exports = {
"/pages/ucenter/userinfo/uploadCutImageToUnicloud", "/pages/ucenter/userinfo/uploadCutImageToUnicloud",
"/uni_modules/uni-feedback/pages/uni-feedback/add" "/uni_modules/uni-feedback/pages/uni-feedback/add"
], ],
"login": ["univerify","smsCode","username", "weixin", "apple"], "login": ["username","smsCode","univerify", "weixin", "apple"],
/* /*
根据数组的第0项,决定登录方式的第一优先级。 根据数组的第0项,决定登录方式的第一优先级。
未列举到的,或设备环境不支持的选项,将被隐藏。 未列举到的,或设备环境不支持的选项,将被隐藏。
......
// 在本文件中可配置云数据库初始化,数据格式见:https://uniapp.dcloud.io/uniCloud/cf-database?id=db_init // 在本文件中可配置云数据库初始化,数据格式见:https://uniapp.dcloud.io/uniCloud/cf-database?id=db_init
// 编写完毕后对本文件点右键,可按配置规则创建表和添加数据 // 编写完毕后对本文件点右键,可按配置规则创建表和添加数据
{ {
"opendb-verify-codes": {
"data": []
},
"uni-id-roles": {
"data": []
},
"uni-id-permissions": {
"data": []
},
"uni-id-log": {
"data": []
},
"opendb-admin-menus": {
"data": [{
"menu_id": "system_management",
"name": "系统管理",
"icon": "uni-icons-gear",
"url": "",
"sort": 1000,
"parent_id": "",
"permission": [],
"enable": true,
"create_date": 1602662469396
}, {
"menu_id": "system_user",
"name": "用户管理",
"icon": "uni-icons-person",
"url": "/pages/system/user/list",
"sort": 1010,
"parent_id": "system_management",
"permission": [],
"enable": true,
"create_date": 1602662469398
}, {
"menu_id": "system_role",
"name": "角色管理",
"icon": "uni-icons-personadd",
"url": "/pages/system/role/list",
"sort": 1020,
"parent_id": "system_management",
"permission": [],
"enable": true,
"create_date": 1602662469397
}, {
"menu_id": "system_permission",
"name": "权限管理",
"icon": "uni-icons-locked",
"url": "/pages/system/permission/list",
"sort": 1030,
"parent_id": "system_management",
"permission": [],
"enable": true,
"create_date": 1602662469396
}, {
"menu_id": "system_menu",
"name": "菜单管理",
"icon": "uni-icons-settings",
"url": "/pages/system/menu/list",
"sort": 1040,
"parent_id": "system_management",
"permission": [],
"enable": true,
"create_date": 1602662469396
}]
},
"opendb-news-articles": { "opendb-news-articles": {
"data": [{ "data": [{
"title": "阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务", "title": "阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务",
......
{ {
"bsonType": "object", "bsonType": "object",
"required": ["name", "menu_id"], "required": ["name", "menu_id"],
"permission": {
"read": true
},
"properties": { "properties": {
"_id": { "_id": {
"description": "存储文档 ID,系统自动生成" "description": "存储文档 ID,系统自动生成"
......
{ {
"bsonType": "object", "bsonType": "object",
"properties": { "required": [],
"_id": { "properties": {
"description": "ID,系统自动生成" "_id": {
}, "description": "ID,系统自动生成"
"code": { },
"bsonType": "string", "mobile": {
"description": "验证码" "bsonType": "string",
}, "description": "手机号码"
"create_date": { },
"bsonType": "timestamp", "email": {
"description": "创建时间" "bsonType": "string",
}, "description": "邮箱"
"device_uuid": { },
"bsonType": "string", "device_uuid": {
"description": "设备UUID,常用于图片验证码" "bsonType": "string",
}, "description": "设备UUID,常用于图片验证码"
"email": { },
"bsonType": "string", "code": {
"description": "邮箱" "bsonType": "string",
}, "description": "验证码"
"expired_date": { },
"bsonType": "timestamp", "scene": {
"description": "过期时间" "bsonType": "string",
}, "description": "使用验证码的场景,如:login, bind, unbind, pay"
"ip": { },
"bsonType": "string", "state": {
"description": "请求时客户端IP地址" "bsonType": "int",
}, "description": "验证状态:0 未验证、1 已验证、2 已作废"
"mobile": { },
"bsonType": "string", "ip": {
"description": "手机号码" "bsonType": "string",
}, "description": "请求时客户端IP地址"
"scene": { },
"bsonType": "string", "create_date": {
"description": "使用验证码的场景,如:login, bind, unbind, pay" "bsonType": "timestamp",
}, "description": "创建时间"
"state": { },
"bsonType": "int", "expired_date": {
"description": "验证状态:0 未验证、1 已验证、2 已作废" "bsonType": "timestamp",
} "description": "过期时间"
}, }
"required": [] }
} }
\ No newline at end of file
{ {
"bsonType": "object", "bsonType": "object",
"required": ["user_id"],
"properties": { "properties": {
"_id": { "_id": {
"description": "ID,系统自动生成" "description": "ID,系统自动生成"
}, },
"create_date": { "user_id": {
"bsonType": "timestamp", "bsonType": "string",
"description": "创建时间", "description": "用户id,参考uni-id-users表"
"forceDefaultValue": { },
"$env": "now" "ua": {
} "bsonType": "string",
"description": "userAgent"
}, },
"device_uuid": { "device_uuid": {
"bsonType": "string", "bsonType": "string",
"description": "设备唯一标识" "description": "设备唯一标识(需要加密存储)"
}, },
"ip": { "type": {
"bsonType": "string", "bsonType": "string",
"description": "ip地址" "enum": ["login", "logout"],
"description": "登录类型"
}, },
"state": { "state": {
"bsonType": "int", "bsonType": "int",
"description": "结果:0 失败、1 成功" "description": "结果:0 失败、1 成功"
}, },
"type": { "ip": {
"bsonType": "string",
"description": "登录类型",
"enum": ["login", "logout"]
},
"ua": {
"bsonType": "string", "bsonType": "string",
"description": "userAgent" "description": "ip地址"
}, },
"user_id": { "create_date": {
"bsonType": "string", "bsonType": "timestamp",
"description": "用户id,参考uni-id-users表" "description": "创建时间",
"forceDefaultValue": {
"$env": "now"
}
} }
}, }
"required": []
} }
{ {
"bsonType": "object", "bsonType": "object",
"permission": { "required": [],
"read": true, "properties": {
"create": false, "_id": {
"update": "doc._id == auth.uid", "description": "存储文档 ID(用户 ID),系统自动生成"
"delete": false },
}, "username": {
"properties": { "bsonType": "string",
"_id": { "title": "用户名",
"description": "存储文档 ID(用户 ID),系统自动生成" "description": "用户名,不允许重复",
}, "trim": "both"
"ali_openid": { },
"bsonType": "string", "password": {
"description": "支付宝平台openid" "bsonType": "password",
}, "title": "密码",
"apple_openid": { "description": "密码,加密存储",
"bsonType": "string", "trim": "both"
"description": "苹果登录openid" },
}, "password_secret_version": {
"avatar": { "bsonType": "int",
"bsonType": "string", "title": "passwordSecret",
"description": "头像地址", "description": "密码使用的passwordSecret版本"
"title": "头像地址", },
"trim": "both" "nickname": {
}, "bsonType": "string",
"avatar_file": { "title": "昵称",
"bsonType": "file", "description": "用户昵称",
"title": "头像文件", "trim": "both"
"description": "用file类型方便使用uni-file-picker组件" },
}, "gender": {
"comment": { "bsonType": "int",
"bsonType": "string", "title": "性别",
"description": "备注", "description": "用户性别:0 未知 1 男性 2 女性",
"title": "备注", "defaultValue": 0,
"trim": "both" "enum": [
}, {
"department_id": { "text": "未知",
"bsonType": "array", "value": 0
"description": "部门ID", },
"enum": { {
"collection": "opendb-department", "text": "男",
"field": "_id as value, name as text", "value": 1
"orderby": "name asc" },
}, {
"enumType": "tree", "text": "女",
"title": "部门" "value": 2
}, }
"email": { ]
"bsonType": "string", },
"description": "邮箱地址", "status": {
"format": "email", "bsonType": "int",
"title": "邮箱", "description": "用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝",
"trim": "both" "title": "用户状态",
}, "defaultValue": 0,
"email_confirmed": { "enum": [
"bsonType": "int", {
"defaultValue": 0, "text": "正常",
"description": "邮箱验证状态:0 未验证 1 已验证", "value": 0
"enum": [{ },
"text": "未验证", {
"value": 0 "text": "禁用",
}, { "value": 1
"text": "已验证", },
"value": 1 {
}], "text": "审核中",
"title": "邮箱验证状态" "value": 2
}, },
"gender": { {
"bsonType": "int", "text": "审核拒绝",
"defaultValue": 0, "value": 3
"description": "用户性别:0 未知 1 男性 2 女性", }
"enum": [{ ]
"text": "未知", },
"value": 0 "mobile": {
}, { "bsonType": "string",
"text": "男", "title": "手机号码",
"value": 1 "description": "手机号码",
}, { "pattern": "^\\+?[0-9-]{3,20}$",
"text": "女", "trim": "both"
"value": 2 },
}], "mobile_confirmed": {
"title": "性别" "bsonType": "int",
}, "description": "手机号验证状态:0 未验证 1 已验证",
"inviter_uid": { "title": "手机号验证状态",
"bsonType": "array", "defaultValue": 0,
"description": "用户全部上级邀请者", "enum": [
"trim": "both" {
}, "text": "未验证",
"last_login_date": { "value": 0
"bsonType": "timestamp", },
"description": "最后登录时间" {
}, "text": "已验证",
"last_login_ip": { "value": 1
"bsonType": "string", }
"description": "最后登录时 IP 地址" ]
}, },
"mobile": { "email": {
"bsonType": "string", "bsonType": "string",
"description": "手机号码", "format": "email",
"pattern": "^\\+?[0-9-]{3,20}$", "title": "邮箱",
"title": "手机号码", "description": "邮箱地址",
"trim": "both" "trim": "both"
}, },
"mobile_confirmed": { "email_confirmed": {
"bsonType": "int", "bsonType": "int",
"defaultValue": 0, "description": "邮箱验证状态:0 未验证 1 已验证",
"description": "手机号验证状态:0 未验证 1 已验证", "title": "邮箱验证状态",
"enum": [{ "defaultValue": 0,
"text": "未验证", "enum": [
"value": 0 {
}, { "text": "未验证",
"text": "已验证", "value": 0
"value": 1 },
}], {
"title": "手机号验证状态" "text": "已验证",
}, "value": 1
"my_invite_code": { }
"bsonType": "string", ]
"description": "用户自身邀请码" },
}, "avatar": {
"nickname": { "bsonType": "string",
"bsonType": "string", "title": "头像地址",
"description": "用户昵称", "description": "头像地址",
"title": "昵称", "trim": "both"
"trim": "both" },
}, "avatar_file": {
"password": { "bsonType": "file",
"bsonType": "password", "title": "头像文件",
"description": "密码,加密存储", "description": "用file类型方便使用uni-file-picker组件"
"title": "密码", },
"trim": "both" "department_id": {
}, "bsonType": "array",
"password_secret_version": { "description": "部门ID",
"bsonType": "int", "title": "部门",
"description": "密码使用的passwordSecret版本", "enumType": "tree",
"title": "passwordSecret" "enum": {
}, "collection": "opendb-department",
"realname_auth": { "orderby": "name asc",
"bsonType": "object", "field": "_id as value, name as text"
"description": "实名认证信息", }
"properties": { },
"auth_date": { "role": {
"bsonType": "timestamp", "bsonType": "array",
"description": "认证通过时间" "title": "角色",
}, "description": "用户角色",
"auth_status": { "enum": {
"bsonType": "int", "collection": "uni-id-roles",
"description": "认证状态:0 未认证 1 等待认证 2 认证通过 3 认证失败", "field": "role_id as value, role_name as text"
"maximum": 3, },
"minimum": 0 "foreignKey": "uni-id-roles.role_id",
}, "permission": {
"contact_email": { "write": false
"bsonType": "string", }
"description": "联系人邮箱" },
}, "wx_unionid": {
"contact_mobile": { "bsonType": "string",
"bsonType": "string", "description": "微信unionid"
"description": "联系人手机号码" },
}, "wx_openid": {
"contact_person": { "bsonType": "object",
"bsonType": "string", "description": "微信各个平台openid",
"description": "联系人姓名" "properties": {
}, "app-plus": {
"id_card_back": { "bsonType": "string",
"bsonType": "string", "description": "app平台微信openid"
"description": "身份证反面照 URL" },
}, "mp-weixin": {
"id_card_front": { "bsonType": "string",
"bsonType": "string", "description": "微信小程序平台openid"
"description": "身份证正面照 URL" }
}, }
"identity": { },
"bsonType": "string", "ali_openid": {
"description": "身份证号码\/营业执照号码" "bsonType": "string",
}, "description": "支付宝平台openid"
"in_hand": { },
"bsonType": "string", "apple_openid": {
"description": "手持身份证照片 URL" "bsonType": "string",
}, "description": "苹果登录openid"
"license": { },
"bsonType": "string", "comment": {
"description": "营业执照 URL" "bsonType": "string",
}, "title": "备注",
"real_name": { "description": "备注",
"bsonType": "string", "trim": "both"
"description": "真实姓名\/企业名称" },
}, "realname_auth": {
"type": { "bsonType": "object",
"bsonType": "int", "description": "实名认证信息",
"description": "用户类型:0 个人用户 1 企业用户", "required": [
"maximum": 1, "type",
"minimum": 0 "auth_status"
} ],
}, "properties": {
"required": ["type", "auth_status"] "type": {
}, "bsonType": "int",
"register_date": { "minimum": 0,
"bsonType": "timestamp", "maximum": 1,
"description": "注册时间", "description": "用户类型:0 个人用户 1 企业用户"
"forceDefaultValue": { },
"$env": "now" "auth_status": {
} "bsonType": "int",
}, "minimum": 0,
"register_ip": { "maximum": 3,
"bsonType": "string", "description": "认证状态:0 未认证 1 等待认证 2 认证通过 3 认证失败"
"description": "注册时 IP 地址", },
"forceDefaultValue": { "auth_date": {
"$env": "clientIP" "bsonType": "timestamp",
} "description": "认证通过时间"
}, },
"role": { "real_name": {
"bsonType": "array", "bsonType": "string",
"description": "用户角色", "description": "真实姓名/企业名称"
"enum": { },
"collection": "uni-id-roles", "identity": {
"field": "role_id as value, role_name as text" "bsonType": "string",
}, "description": "身份证号码/营业执照号码"
"foreignKey": "uni-id-roles.role_id", },
"permission": { "id_card_front": {
"write": false "bsonType": "string",
}, "description": "身份证正面照 URL"
"title": "角色" },
}, "id_card_back": {
"status": { "bsonType": "string",
"bsonType": "int", "description": "身份证反面照 URL"
"defaultValue": 0, },
"description": "用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝", "in_hand": {
"enum": [{ "bsonType": "string",
"text": "正常", "description": "手持身份证照片 URL"
"value": 0 },
}, { "license": {
"text": "禁用", "bsonType": "string",
"value": 1 "description": "营业执照 URL"
}, { },
"text": "审核中", "contact_person": {
"value": 2 "bsonType": "string",
}, { "description": "联系人姓名"
"text": "审核拒绝", },
"value": 3 "contact_mobile": {
}], "bsonType": "string",
"title": "用户状态" "description": "联系人手机号码"
}, },
"token": { "contact_email": {
"bsonType": "array", "bsonType": "string",
"description": "用户token" "description": "联系人邮箱"
}, }
"username": { }
"bsonType": "string", },
"description": "用户名,不允许重复", "score": {
"title": "用户名", "bsonType": "int",
"trim": "both" "description": "用户积分,积分变更记录可参考:uni-id-scores表定义"
}, },
"wx_openid": { "register_date": {
"bsonType": "object", "bsonType": "timestamp",
"description": "微信各个平台openid", "description": "注册时间",
"properties": { "forceDefaultValue": {
"app-plus": { "$env": "now"
"bsonType": "string", }
"description": "app平台微信openid" },
}, "register_ip": {
"mp-weixin": { "bsonType": "string",
"bsonType": "string", "description": "注册时 IP 地址",
"description": "微信小程序平台openid" "forceDefaultValue": {
} "$env": "clientIP"
} }
}, },
"wx_unionid": { "last_login_date": {
"bsonType": "string", "bsonType": "timestamp",
"description": "微信unionid" "description": "最后登录时间"
} },
}, "last_login_ip": {
"required": [] "bsonType": "string",
} "description": "最后登录时 IP 地址"
},
"token": {
"bsonType": "array",
"description": "用户token"
},
"inviter_uid": {
"bsonType": "array",
"description": "用户全部上级邀请者",
"trim": "both"
},
"invite_time": {
"bsonType": "timestamp",
"description": "受邀时间"
},
"my_invite_code": {
"bsonType": "string",
"description": "用户自身邀请码"
}
}
}
\ No newline at end of file
{ {
"name" : "uni-starter", "name": "uni-starter",
"appid" : "__UNI__E5373F7", "appid": "__UNI__E5373F7",
"description" : "云端一体应用快速开发模版", "description": "云端一体应用快速开发模版",
"versionName" : "1.0.0", "versionName": "1.0.0",
"versionCode" : "100", "versionCode": "100",
"transformPx" : false, "transformPx": false,
"app-plus" : { "app-plus": {
"privacy" : { "privacy": {
"prompt" : "template", "prompt": "template",
"template" : { "template": {
"title" : "服务协议和隐私政策", "title": "服务协议和隐私政策",
"message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ask.dcloud.net.cn/protocol.html\">《服务协议》</a>和<a href=\"https://ask.dcloud.net.cn/protocol.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ask.dcloud.net.cn/protocol.html\">《服务协议》</a>和<a href=\"https://ask.dcloud.net.cn/protocol.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意", "buttonAccept": "同意",
"buttonRefuse" : "暂不同意" "buttonRefuse": "暂不同意"
} }
},
"compatible": {
"ignoreVersion": true
},
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
"modules": {
"Fingerprint": {
},
"Share": {
},
"OAuth": {
},
"FaceID": {
}
},
"distribute": {
"android": {
"permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters": [
"armeabi-v7a",
"arm64-v8a",
"x86"
]
},
"ios": {
},
"sdkConfigs": {
"oauth": {
"apple": {
},
"weixin": {
"appid": "wxffdd8fa6ec4ef2a0",
"appsecret": "",
"UniversalLinks": ""
}
}, },
"compatible" : { "ad": {
"ignoreVersion" : true
}, },
"usingComponents" : true, "share": {
"nvueStyleCompiler" : "uni-app", "weixin": {
"compilerVersion" : 3, "appid": "wxffdd8fa6ec4ef2a0",
"splashscreen" : { "UniversalLinks": ""
"alwaysShowBeforeRender" : true, }
"waiting" : true,
"autoclose" : true,
"delay" : 0
}, },
"modules" : { "geolocation": {
"Fingerprint" : {},
"Share" : {},
"OAuth" : {},
"FaceID" : {}
}, },
"distribute" : { "push": {
"android" : { "unipush": {
"permissions" : [ }
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
},
"ios" : {},
"sdkConfigs" : {
"oauth" : {
"apple" : {},
"weixin" : {
"appid" : "wxffdd8fa6ec4ef2a0",
"appsecret" : "",
"UniversalLinks" : ""
}
},
"ad" : {},
"share" : {
"weixin" : {
"appid" : "wxffdd8fa6ec4ef2a0",
"UniversalLinks" : ""
}
},
"geolocation" : {},
"push" : {
"unipush" : {}
},
"payment" : {}
}
}, },
"nvueLaunchMode" : "" "payment": {
}, }
"quickapp" : {}, }
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false,
"es6" : false
},
"usingComponents" : true,
"betterScopedSlots" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
}, },
"uniStatistics" : { "nvueLaunchMode": ""
"enable" : false },
"quickapp": {
},
"mp-weixin": {
"appid": "",
"setting": {
"urlCheck": false,
"es6": false
}, },
"h5" : { "usingComponents": true,
"template" : "" "betterScopedSlots": true
} },
} "mp-alipay": {
"usingComponents": true
},
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao": {
"usingComponents": true
},
"uniStatistics": {
"enable": false
},
"h5": {
"template": ""
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册