Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-starter
提交
f2eea22a
U
uni-starter
项目概览
DCloud
/
uni-starter
通知
4684
Star
229
Fork
210
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f2eea22a
编写于
6月 23, 2021
作者:
DCloud_JSON
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
预置uniCloud admin依赖的uniCloud文件,方便uniCloud admin与uni-starter配套使用时免做文件迁移
上级
1435c9e2
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
553 addition
and
448 deletion
+553
-448
changelog.md
changelog.md
+2
-0
common/appInit.js
common/appInit.js
+1
-1
package.json
package.json
+1
-1
store/modules/user.js
store/modules/user.js
+2
-2
uni-starter.config.js
uni-starter.config.js
+1
-1
uniCloud-aliyun/database/db_init.json
uniCloud-aliyun/database/db_init.json
+66
-1
uniCloud-aliyun/database/opendb-admin-menus.schema.json
uniCloud-aliyun/database/opendb-admin-menus.schema.json
+3
-0
uniCloud-aliyun/database/opendb-verify-codes.schema.json
uniCloud-aliyun/database/opendb-verify-codes.schema.json
+45
-45
uniCloud-aliyun/database/uni-id-log.schema.json
uniCloud-aliyun/database/uni-id-log.schema.json
+21
-21
uniCloud-aliyun/database/uni-id-users.schema.json
uniCloud-aliyun/database/uni-id-users.schema.json
+294
-274
uni_modules_tools/copy/manifest.json
uni_modules_tools/copy/manifest.json
+117
-102
未找到文件。
changelog.md
浏览文件 @
f2eea22a
## 1.0.25(2021-06-23)
预置uniCloud admin依赖的uniCloud文件,方便uniCloud admin与uni-starter配套使用时免做文件迁移
## 1.0.24(2021-06-23)
删除callFunction拦截器中多余的代码
## 1.0.23(2021-06-22)
...
...
common/appInit.js
浏览文件 @
f2eea22a
...
...
@@ -235,7 +235,7 @@ export default function() {
//获取用户的token
const
token
=
uni
.
getStorageSync
(
'
uni_id_token
'
)
//token是否已失效
const
tokenExpired
=
(
uni
.
getStorageSync
(
'
uni_id_token_expired
'
)
-
Date
.
now
())
<
0
const
tokenExpired
=
uni
.
getStorageSync
(
'
uni_id_token_expired
'
)
<
Date
.
now
()
//获取当前页面路径(即url去掉"?"和"?"后的参数)
const
url
=
e
.
url
.
split
(
'
?
'
)[
0
]
//控制登录优先级
...
...
package.json
浏览文件 @
f2eea22a
{
"id"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"version"
:
"1.0.2
4
"
,
"version"
:
"1.0.2
5
"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"keywords"
:
[
"uni-starter"
,
...
...
store/modules/user.js
浏览文件 @
f2eea22a
...
...
@@ -24,7 +24,6 @@ let state = {
console
.
log
(
'
state.info
'
,
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_expired
'
,
state
.
info
.
tokenExpired
)
...
...
@@ -34,6 +33,7 @@ let state = {
state
.
hasLogin
=
false
;
uni
.
setStorageSync
(
'
userInfo
'
,
{});
uni
.
setStorageSync
(
'
uni_id_token
'
,
''
);
uni
.
setStorageSync
(
'
uni_id_token_expired
'
,
0
)
}
},
actions
=
{
...
...
@@ -44,4 +44,4 @@ export default {
getters
,
mutations
,
actions
}
}
\ No newline at end of file
uni-starter.config.js
浏览文件 @
f2eea22a
...
...
@@ -26,7 +26,7 @@ module.exports = {
"
/pages/ucenter/userinfo/uploadCutImageToUnicloud
"
,
"
/uni_modules/uni-feedback/pages/uni-feedback/add
"
],
"
login
"
:
[
"
u
niverify
"
,
"
smsCode
"
,
"
username
"
,
"
weixin
"
,
"
apple
"
],
"
login
"
:
[
"
u
sername
"
,
"
smsCode
"
,
"
univerify
"
,
"
weixin
"
,
"
apple
"
],
/*
根据数组的第0项,决定登录方式的第一优先级。
未列举到的,或设备环境不支持的选项,将被隐藏。
...
...
uniCloud-aliyun/database/db_init.json
浏览文件 @
f2eea22a
//
在本文件中可配置云数据库初始化,数据格式见: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"
:
{
"data"
:
[{
"title"
:
"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务"
,
...
...
uniCloud-aliyun/database/opendb-admin-menus.schema.json
浏览文件 @
f2eea22a
{
"bsonType"
:
"object"
,
"required"
:
[
"name"
,
"menu_id"
],
"permission"
:
{
"read"
:
true
},
"properties"
:
{
"_id"
:
{
"description"
:
"存储文档 ID,系统自动生成"
...
...
uniCloud-aliyun/database/opendb-verify-codes.schema.json
浏览文件 @
f2eea22a
{
"bsonType"
:
"object"
,
"properties"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
},
"code"
:
{
"bsonType"
:
"string"
,
"description"
:
"验证码"
},
"create_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"创建时间"
},
"device_uuid"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备UUID,常用于图片验证码"
},
"email"
:
{
"bsonType"
:
"string"
,
"description"
:
"邮箱"
},
"expired_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"过期时间"
},
"ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"请求时客户端IP地址"
},
"mobile"
:
{
"bsonType"
:
"string"
,
"description"
:
"手机号码"
},
"scene"
:
{
"bsonType"
:
"string"
,
"description"
:
"使用验证码的场景,如:login, bind, unbind, pay"
},
"state"
:
{
"bsonType"
:
"int"
,
"description"
:
"验证状态:0 未验证、1 已验证、2 已作废"
}
},
"required"
:
[]
}
{
"bsonType"
:
"object"
,
"required"
:
[],
"properties"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
},
"mobile"
:
{
"bsonType"
:
"string"
,
"description"
:
"手机号码"
},
"email"
:
{
"bsonType"
:
"string"
,
"description"
:
"邮箱"
},
"device_uuid"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备UUID,常用于图片验证码"
},
"code"
:
{
"bsonType"
:
"string"
,
"description"
:
"验证码"
},
"scene"
:
{
"bsonType"
:
"string"
,
"description"
:
"使用验证码的场景,如:login, bind, unbind, pay"
},
"state"
:
{
"bsonType"
:
"int"
,
"description"
:
"验证状态:0 未验证、1 已验证、2 已作废"
},
"ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"请求时客户端IP地址"
},
"create_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"创建时间"
},
"expired_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"过期时间"
}
}
}
\ No newline at end of file
uniCloud-aliyun/database/uni-id-log.schema.json
浏览文件 @
f2eea22a
{
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
],
"properties"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
},
"create_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"创建时间"
,
"forceDefaultValue"
:
{
"$env"
:
"now"
}
"user_id"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户id,参考uni-id-users表"
},
"ua"
:
{
"bsonType"
:
"string"
,
"description"
:
"userAgent"
},
"device_uuid"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备唯一标识"
"description"
:
"设备唯一标识
(需要加密存储)
"
},
"
ip
"
:
{
"
type
"
:
{
"bsonType"
:
"string"
,
"description"
:
"ip地址"
"enum"
:
[
"login"
,
"logout"
],
"description"
:
"登录类型"
},
"state"
:
{
"bsonType"
:
"int"
,
"description"
:
"结果:0 失败、1 成功"
},
"type"
:
{
"bsonType"
:
"string"
,
"description"
:
"登录类型"
,
"enum"
:
[
"login"
,
"logout"
]
},
"ua"
:
{
"ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"
userAgent
"
"description"
:
"
ip地址
"
},
"user_id"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户id,参考uni-id-users表"
"create_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"创建时间"
,
"forceDefaultValue"
:
{
"$env"
:
"now"
}
}
},
"required"
:
[]
}
}
uniCloud-aliyun/database/uni-id-users.schema.json
浏览文件 @
f2eea22a
{
"bsonType"
:
"object"
,
"permission"
:
{
"read"
:
true
,
"create"
:
false
,
"update"
:
"doc._id == auth.uid"
,
"delete"
:
false
},
"properties"
:
{
"_id"
:
{
"description"
:
"存储文档 ID(用户 ID),系统自动生成"
},
"ali_openid"
:
{
"bsonType"
:
"string"
,
"description"
:
"支付宝平台openid"
},
"apple_openid"
:
{
"bsonType"
:
"string"
,
"description"
:
"苹果登录openid"
},
"avatar"
:
{
"bsonType"
:
"string"
,
"description"
:
"头像地址"
,
"title"
:
"头像地址"
,
"trim"
:
"both"
},
"avatar_file"
:
{
"bsonType"
:
"file"
,
"title"
:
"头像文件"
,
"description"
:
"用file类型方便使用uni-file-picker组件"
},
"comment"
:
{
"bsonType"
:
"string"
,
"description"
:
"备注"
,
"title"
:
"备注"
,
"trim"
:
"both"
},
"department_id"
:
{
"bsonType"
:
"array"
,
"description"
:
"部门ID"
,
"enum"
:
{
"collection"
:
"opendb-department"
,
"field"
:
"_id as value, name as text"
,
"orderby"
:
"name asc"
},
"enumType"
:
"tree"
,
"title"
:
"部门"
},
"email"
:
{
"bsonType"
:
"string"
,
"description"
:
"邮箱地址"
,
"format"
:
"email"
,
"title"
:
"邮箱"
,
"trim"
:
"both"
},
"email_confirmed"
:
{
"bsonType"
:
"int"
,
"defaultValue"
:
0
,
"description"
:
"邮箱验证状态:0 未验证 1 已验证"
,
"enum"
:
[{
"text"
:
"未验证"
,
"value"
:
0
},
{
"text"
:
"已验证"
,
"value"
:
1
}],
"title"
:
"邮箱验证状态"
},
"gender"
:
{
"bsonType"
:
"int"
,
"defaultValue"
:
0
,
"description"
:
"用户性别:0 未知 1 男性 2 女性"
,
"enum"
:
[{
"text"
:
"未知"
,
"value"
:
0
},
{
"text"
:
"男"
,
"value"
:
1
},
{
"text"
:
"女"
,
"value"
:
2
}],
"title"
:
"性别"
},
"inviter_uid"
:
{
"bsonType"
:
"array"
,
"description"
:
"用户全部上级邀请者"
,
"trim"
:
"both"
},
"last_login_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"最后登录时间"
},
"last_login_ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"最后登录时 IP 地址"
},
"mobile"
:
{
"bsonType"
:
"string"
,
"description"
:
"手机号码"
,
"pattern"
:
"^
\\
+?[0-9-]{3,20}$"
,
"title"
:
"手机号码"
,
"trim"
:
"both"
},
"mobile_confirmed"
:
{
"bsonType"
:
"int"
,
"defaultValue"
:
0
,
"description"
:
"手机号验证状态:0 未验证 1 已验证"
,
"enum"
:
[{
"text"
:
"未验证"
,
"value"
:
0
},
{
"text"
:
"已验证"
,
"value"
:
1
}],
"title"
:
"手机号验证状态"
},
"my_invite_code"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户自身邀请码"
},
"nickname"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户昵称"
,
"title"
:
"昵称"
,
"trim"
:
"both"
},
"password"
:
{
"bsonType"
:
"password"
,
"description"
:
"密码,加密存储"
,
"title"
:
"密码"
,
"trim"
:
"both"
},
"password_secret_version"
:
{
"bsonType"
:
"int"
,
"description"
:
"密码使用的passwordSecret版本"
,
"title"
:
"passwordSecret"
},
"realname_auth"
:
{
"bsonType"
:
"object"
,
"description"
:
"实名认证信息"
,
"properties"
:
{
"auth_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"认证通过时间"
},
"auth_status"
:
{
"bsonType"
:
"int"
,
"description"
:
"认证状态:0 未认证 1 等待认证 2 认证通过 3 认证失败"
,
"maximum"
:
3
,
"minimum"
:
0
},
"contact_email"
:
{
"bsonType"
:
"string"
,
"description"
:
"联系人邮箱"
},
"contact_mobile"
:
{
"bsonType"
:
"string"
,
"description"
:
"联系人手机号码"
},
"contact_person"
:
{
"bsonType"
:
"string"
,
"description"
:
"联系人姓名"
},
"id_card_back"
:
{
"bsonType"
:
"string"
,
"description"
:
"身份证反面照 URL"
},
"id_card_front"
:
{
"bsonType"
:
"string"
,
"description"
:
"身份证正面照 URL"
},
"identity"
:
{
"bsonType"
:
"string"
,
"description"
:
"身份证号码
\/
营业执照号码"
},
"in_hand"
:
{
"bsonType"
:
"string"
,
"description"
:
"手持身份证照片 URL"
},
"license"
:
{
"bsonType"
:
"string"
,
"description"
:
"营业执照 URL"
},
"real_name"
:
{
"bsonType"
:
"string"
,
"description"
:
"真实姓名
\/
企业名称"
},
"type"
:
{
"bsonType"
:
"int"
,
"description"
:
"用户类型:0 个人用户 1 企业用户"
,
"maximum"
:
1
,
"minimum"
:
0
}
},
"required"
:
[
"type"
,
"auth_status"
]
},
"register_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"注册时间"
,
"forceDefaultValue"
:
{
"$env"
:
"now"
}
},
"register_ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"注册时 IP 地址"
,
"forceDefaultValue"
:
{
"$env"
:
"clientIP"
}
},
"role"
:
{
"bsonType"
:
"array"
,
"description"
:
"用户角色"
,
"enum"
:
{
"collection"
:
"uni-id-roles"
,
"field"
:
"role_id as value, role_name as text"
},
"foreignKey"
:
"uni-id-roles.role_id"
,
"permission"
:
{
"write"
:
false
},
"title"
:
"角色"
},
"status"
:
{
"bsonType"
:
"int"
,
"defaultValue"
:
0
,
"description"
:
"用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝"
,
"enum"
:
[{
"text"
:
"正常"
,
"value"
:
0
},
{
"text"
:
"禁用"
,
"value"
:
1
},
{
"text"
:
"审核中"
,
"value"
:
2
},
{
"text"
:
"审核拒绝"
,
"value"
:
3
}],
"title"
:
"用户状态"
},
"token"
:
{
"bsonType"
:
"array"
,
"description"
:
"用户token"
},
"username"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户名,不允许重复"
,
"title"
:
"用户名"
,
"trim"
:
"both"
},
"wx_openid"
:
{
"bsonType"
:
"object"
,
"description"
:
"微信各个平台openid"
,
"properties"
:
{
"app-plus"
:
{
"bsonType"
:
"string"
,
"description"
:
"app平台微信openid"
},
"mp-weixin"
:
{
"bsonType"
:
"string"
,
"description"
:
"微信小程序平台openid"
}
}
},
"wx_unionid"
:
{
"bsonType"
:
"string"
,
"description"
:
"微信unionid"
}
},
"required"
:
[]
}
{
"bsonType"
:
"object"
,
"required"
:
[],
"properties"
:
{
"_id"
:
{
"description"
:
"存储文档 ID(用户 ID),系统自动生成"
},
"username"
:
{
"bsonType"
:
"string"
,
"title"
:
"用户名"
,
"description"
:
"用户名,不允许重复"
,
"trim"
:
"both"
},
"password"
:
{
"bsonType"
:
"password"
,
"title"
:
"密码"
,
"description"
:
"密码,加密存储"
,
"trim"
:
"both"
},
"password_secret_version"
:
{
"bsonType"
:
"int"
,
"title"
:
"passwordSecret"
,
"description"
:
"密码使用的passwordSecret版本"
},
"nickname"
:
{
"bsonType"
:
"string"
,
"title"
:
"昵称"
,
"description"
:
"用户昵称"
,
"trim"
:
"both"
},
"gender"
:
{
"bsonType"
:
"int"
,
"title"
:
"性别"
,
"description"
:
"用户性别:0 未知 1 男性 2 女性"
,
"defaultValue"
:
0
,
"enum"
:
[
{
"text"
:
"未知"
,
"value"
:
0
},
{
"text"
:
"男"
,
"value"
:
1
},
{
"text"
:
"女"
,
"value"
:
2
}
]
},
"status"
:
{
"bsonType"
:
"int"
,
"description"
:
"用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝"
,
"title"
:
"用户状态"
,
"defaultValue"
:
0
,
"enum"
:
[
{
"text"
:
"正常"
,
"value"
:
0
},
{
"text"
:
"禁用"
,
"value"
:
1
},
{
"text"
:
"审核中"
,
"value"
:
2
},
{
"text"
:
"审核拒绝"
,
"value"
:
3
}
]
},
"mobile"
:
{
"bsonType"
:
"string"
,
"title"
:
"手机号码"
,
"description"
:
"手机号码"
,
"pattern"
:
"^
\\
+?[0-9-]{3,20}$"
,
"trim"
:
"both"
},
"mobile_confirmed"
:
{
"bsonType"
:
"int"
,
"description"
:
"手机号验证状态:0 未验证 1 已验证"
,
"title"
:
"手机号验证状态"
,
"defaultValue"
:
0
,
"enum"
:
[
{
"text"
:
"未验证"
,
"value"
:
0
},
{
"text"
:
"已验证"
,
"value"
:
1
}
]
},
"email"
:
{
"bsonType"
:
"string"
,
"format"
:
"email"
,
"title"
:
"邮箱"
,
"description"
:
"邮箱地址"
,
"trim"
:
"both"
},
"email_confirmed"
:
{
"bsonType"
:
"int"
,
"description"
:
"邮箱验证状态:0 未验证 1 已验证"
,
"title"
:
"邮箱验证状态"
,
"defaultValue"
:
0
,
"enum"
:
[
{
"text"
:
"未验证"
,
"value"
:
0
},
{
"text"
:
"已验证"
,
"value"
:
1
}
]
},
"avatar"
:
{
"bsonType"
:
"string"
,
"title"
:
"头像地址"
,
"description"
:
"头像地址"
,
"trim"
:
"both"
},
"avatar_file"
:
{
"bsonType"
:
"file"
,
"title"
:
"头像文件"
,
"description"
:
"用file类型方便使用uni-file-picker组件"
},
"department_id"
:
{
"bsonType"
:
"array"
,
"description"
:
"部门ID"
,
"title"
:
"部门"
,
"enumType"
:
"tree"
,
"enum"
:
{
"collection"
:
"opendb-department"
,
"orderby"
:
"name asc"
,
"field"
:
"_id as value, name as text"
}
},
"role"
:
{
"bsonType"
:
"array"
,
"title"
:
"角色"
,
"description"
:
"用户角色"
,
"enum"
:
{
"collection"
:
"uni-id-roles"
,
"field"
:
"role_id as value, role_name as text"
},
"foreignKey"
:
"uni-id-roles.role_id"
,
"permission"
:
{
"write"
:
false
}
},
"wx_unionid"
:
{
"bsonType"
:
"string"
,
"description"
:
"微信unionid"
},
"wx_openid"
:
{
"bsonType"
:
"object"
,
"description"
:
"微信各个平台openid"
,
"properties"
:
{
"app-plus"
:
{
"bsonType"
:
"string"
,
"description"
:
"app平台微信openid"
},
"mp-weixin"
:
{
"bsonType"
:
"string"
,
"description"
:
"微信小程序平台openid"
}
}
},
"ali_openid"
:
{
"bsonType"
:
"string"
,
"description"
:
"支付宝平台openid"
},
"apple_openid"
:
{
"bsonType"
:
"string"
,
"description"
:
"苹果登录openid"
},
"comment"
:
{
"bsonType"
:
"string"
,
"title"
:
"备注"
,
"description"
:
"备注"
,
"trim"
:
"both"
},
"realname_auth"
:
{
"bsonType"
:
"object"
,
"description"
:
"实名认证信息"
,
"required"
:
[
"type"
,
"auth_status"
],
"properties"
:
{
"type"
:
{
"bsonType"
:
"int"
,
"minimum"
:
0
,
"maximum"
:
1
,
"description"
:
"用户类型:0 个人用户 1 企业用户"
},
"auth_status"
:
{
"bsonType"
:
"int"
,
"minimum"
:
0
,
"maximum"
:
3
,
"description"
:
"认证状态:0 未认证 1 等待认证 2 认证通过 3 认证失败"
},
"auth_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"认证通过时间"
},
"real_name"
:
{
"bsonType"
:
"string"
,
"description"
:
"真实姓名/企业名称"
},
"identity"
:
{
"bsonType"
:
"string"
,
"description"
:
"身份证号码/营业执照号码"
},
"id_card_front"
:
{
"bsonType"
:
"string"
,
"description"
:
"身份证正面照 URL"
},
"id_card_back"
:
{
"bsonType"
:
"string"
,
"description"
:
"身份证反面照 URL"
},
"in_hand"
:
{
"bsonType"
:
"string"
,
"description"
:
"手持身份证照片 URL"
},
"license"
:
{
"bsonType"
:
"string"
,
"description"
:
"营业执照 URL"
},
"contact_person"
:
{
"bsonType"
:
"string"
,
"description"
:
"联系人姓名"
},
"contact_mobile"
:
{
"bsonType"
:
"string"
,
"description"
:
"联系人手机号码"
},
"contact_email"
:
{
"bsonType"
:
"string"
,
"description"
:
"联系人邮箱"
}
}
},
"score"
:
{
"bsonType"
:
"int"
,
"description"
:
"用户积分,积分变更记录可参考:uni-id-scores表定义"
},
"register_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"注册时间"
,
"forceDefaultValue"
:
{
"$env"
:
"now"
}
},
"register_ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"注册时 IP 地址"
,
"forceDefaultValue"
:
{
"$env"
:
"clientIP"
}
},
"last_login_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"最后登录时间"
},
"last_login_ip"
:
{
"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
uni_modules_tools/copy/manifest.json
浏览文件 @
f2eea22a
{
"name"
:
"uni-starter"
,
"appid"
:
"__UNI__E5373F7"
,
"description"
:
"云端一体应用快速开发模版"
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"app-plus"
:
{
"privacy"
:
{
"prompt"
:
"template"
,
"template"
:
{
"title"
:
"服务协议和隐私政策"
,
"message"
:
" 请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《服务协议》</a>和<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"buttonAccept"
:
"同意"
,
"buttonRefuse"
:
"暂不同意"
}
"name"
:
"uni-starter"
,
"appid"
:
"__UNI__E5373F7"
,
"description"
:
"云端一体应用快速开发模版"
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"app-plus"
:
{
"privacy"
:
{
"prompt"
:
"template"
,
"template"
:
{
"title"
:
"服务协议和隐私政策"
,
"message"
:
" 请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《服务协议》</a>和<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"buttonAccept"
:
"同意"
,
"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"
:
{
"ignoreVersion"
:
true
"ad"
:
{
},
"usingComponents"
:
true
,
"nvueStyleCompiler"
:
"uni-app"
,
"compilerVersion"
:
3
,
"splashscreen"
:
{
"alwaysShowBeforeRender"
:
true
,
"waiting"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
"share"
:
{
"weixin"
:
{
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"UniversalLinks"
:
""
}
},
"modules"
:
{
"Fingerprint"
:
{},
"Share"
:
{},
"OAuth"
:
{},
"FaceID"
:
{}
"geolocation"
:
{
},
"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"
:
""
}
},
"ad"
:
{},
"share"
:
{
"weixin"
:
{
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"UniversalLinks"
:
""
}
},
"geolocation"
:
{},
"push"
:
{
"unipush"
:
{}
},
"payment"
:
{}
}
"push"
:
{
"unipush"
:
{
}
},
"nvueLaunchMode"
:
""
},
"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
"payment"
:
{
}
}
},
"uniStatistics"
:
{
"enable"
:
false
"nvueLaunchMode"
:
""
},
"quickapp"
:
{
},
"mp-weixin"
:
{
"appid"
:
""
,
"setting"
:
{
"urlCheck"
:
false
,
"es6"
:
false
},
"h5"
:
{
"template"
:
""
}
}
"usingComponents"
:
true
,
"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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录