Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦想橡皮擦
uni-starter
提交
e7143b0f
U
uni-starter
项目概览
梦想橡皮擦
/
uni-starter
与 Fork 源项目一致
Fork自
DCloud / uni-starter
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
e7143b0f
编写于
9月 13, 2021
作者:
DCloud_JSON
提交者:
study夏羽
9月 16, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
纠正错误schema权限表达式为
上级
a8430479
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
280 addition
and
299 deletion
+280
-299
App.vue
App.vue
+18
-19
changelog.md
changelog.md
+2
-0
manifest.json
manifest.json
+1
-1
package.json
package.json
+1
-1
uniCloud-aliyun/database/guestbook.schema.json
uniCloud-aliyun/database/guestbook.schema.json
+5
-5
uniCloud-aliyun/database/opendb-news-articles-detail.schema.json
...d-aliyun/database/opendb-news-articles-detail.schema.json
+2
-2
uniCloud-aliyun/database/opendb-news-articles.schema.json
uniCloud-aliyun/database/opendb-news-articles.schema.json
+3
-3
uniCloud-aliyun/database/opendb-news-comments.schema.json
uniCloud-aliyun/database/opendb-news-comments.schema.json
+3
-3
uniCloud-aliyun/database/opendb-news-favorite.schema.json
uniCloud-aliyun/database/opendb-news-favorite.schema.json
+4
-4
uniCloud-aliyun/database/read-news-log.schema.json
uniCloud-aliyun/database/read-news-log.schema.json
+4
-4
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
...loudfunctions/common/uni-config-center/uni-id/config.json
+1
-1
uni_modules_tools/copy/manifest.json
uni_modules_tools/copy/manifest.json
+184
-204
uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
...loudfunctions/common/uni-config-center/uni-id/config.json
+52
-52
未找到文件。
App.vue
浏览文件 @
e7143b0f
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
},
},
onLaunch
:
function
()
{
onLaunch
:
function
()
{
console
.
log
(
'
App Launch
'
)
console
.
log
(
'
App Launch
'
)
this
.
globalData
.
$i18n
=
this
.
$i18n
this
.
globalData
.
$i18n
=
this
.
$i18n
this
.
globalData
.
$t
=
str
=>
this
.
$t
(
str
)
this
.
globalData
.
$t
=
str
=>
this
.
$t
(
str
)
...
@@ -43,7 +42,7 @@
...
@@ -43,7 +42,7 @@
// #endif
// #endif
let
initLanguageAfter
=
()
=>
{
let
initLanguageAfter
=
()
=>
{
console
.
log
(
this
.
$t
(
'
tabbar
'
)
);
console
.
log
(
'
作用于多语言国际化功能,这里获取语言包lang/en.js、lang/zh-Hans.js的tabbar中配置的值更新当前应用的底部tabbar,如果你不需要多语言国际化。直接删除App.vue页面的47-55行即可
'
);
//底部tabbar更新
//底部tabbar更新
this
.
$t
(
'
tabbar
'
).
split
(
'
,
'
).
forEach
((
text
,
index
)
=>
{
this
.
$t
(
'
tabbar
'
).
split
(
'
,
'
).
forEach
((
text
,
index
)
=>
{
uni
.
setTabBarItem
({
uni
.
setTabBarItem
({
...
@@ -55,29 +54,29 @@
...
@@ -55,29 +54,29 @@
})
})
})
})
//更新 uni-starter.config
//更新 uni-starter.config
//agreements
//agreements
let
agreements
=
[{
let
agreements
=
[{
"
title
"
:
"
用户服务协议
"
,
//协议名称
"
title
"
:
"
用户服务协议
"
,
//协议名称
"
url
"
:
"
请填写用户服务协议链接
"
//对应的网络链接
},
{
"
title
"
:
"
隐私政策
"
,
"
url
"
:
"
请填写隐私政策链接
"
}
]
if
(
getApp
().
globalData
.
$i18n
.
locale
==
'
en
'
){
agreements
=
[{
"
title
"
:
"
User service agreement
"
,
//协议名称
"
url
"
:
"
请填写用户服务协议链接
"
//对应的网络链接
"
url
"
:
"
请填写用户服务协议链接
"
//对应的网络链接
},
},
{
{
"
title
"
:
"
隐私政策
"
,
"
title
"
:
"
Privacy policy
"
,
"
url
"
:
"
请填写隐私政策链接
"
"
url
"
:
"
请填写隐私政策链接
"
}
}
]
]
if
(
getApp
().
globalData
.
$i18n
.
locale
==
'
en
'
){
}
agreements
=
[{
// console.log(getApp().globalData.config)
"
title
"
:
"
User service agreement
"
,
//协议名称
getApp
().
globalData
.
config
.
about
.
agreements
=
agreements
"
url
"
:
"
请填写用户服务协议链接
"
//对应的网络链接
},
{
"
title
"
:
"
Privacy policy
"
,
"
url
"
:
"
请填写隐私政策链接
"
}
]
}
// console.log(getApp().globalData.config)
getApp
().
globalData
.
config
.
about
.
agreements
=
agreements
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
initLanguageAfter
()
initLanguageAfter
()
...
...
changelog.md
浏览文件 @
e7143b0f
## 1.1.6(2021-09-13)
纠正错误schema权限表达式
`doc.uid`
为
`doc.user_id`
## 1.1.5(2021-09-01)
## 1.1.5(2021-09-01)
为了更直观理解路由拦截。移除路由拦截器中,默认过滤登陆相关页面拦截的逻辑。确保所有白名单页面均在配置文件router.visitor中体现
为了更直观理解路由拦截。移除路由拦截器中,默认过滤登陆相关页面拦截的逻辑。确保所有白名单页面均在配置文件router.visitor中体现
## 1.1.4(2021-08-31)
## 1.1.4(2021-08-31)
...
...
manifest.json
浏览文件 @
e7143b0f
...
@@ -221,4 +221,4 @@
...
@@ -221,4 +221,4 @@
}
}
//...
//...
//
中文(简体)
//
中文(简体)
//
应用名称
//
应用名称
\ No newline at end of file
package.json
浏览文件 @
e7143b0f
{
{
"id"
:
"uni-starter"
,
"id"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"version"
:
"1.1.
5
"
,
"version"
:
"1.1.
6
"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"keywords"
:
[
"keywords"
:
[
"login"
,
"login"
,
...
...
uniCloud-aliyun/database/guestbook.schema.json
浏览文件 @
e7143b0f
...
@@ -3,19 +3,19 @@
...
@@ -3,19 +3,19 @@
"bsonType"
:
"object"
,
"bsonType"
:
"object"
,
"required"
:
[],
"required"
:
[],
"permission"
:
{
"permission"
:
{
"read"
:
"doc.state || auth.uid == doc.uid || 'AUDITOR' in auth.role"
,
"read"
:
"doc.state || auth.uid == doc.u
ser_
id || 'AUDITOR' in auth.role"
,
"create"
:
"auth.uid != null"
,
"create"
:
"auth.uid != null"
,
"update"
:
true
,
"update"
:
true
,
"delete"
:
"auth.uid == doc.uid"
"delete"
:
"auth.uid == doc.u
ser_
id"
},
},
"properties"
:
{
"properties"
:
{
"_id"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
"description"
:
"ID,系统自动生成"
},
},
"text"
:
{
"text"
:
{
"bsonType"
:
"string"
,
"bsonType"
:
"string"
,
"permission"
:{
"permission"
:{
"update"
:
"'AUDITOR' in auth.role"
"update"
:
"'AUDITOR' in auth.role"
}
}
},
},
"user_id"
:
{
"user_id"
:
{
...
...
uniCloud-aliyun/database/opendb-news-articles-detail.schema.json
浏览文件 @
e7143b0f
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
"bsonType"
:
"object"
,
"bsonType"
:
"object"
,
"permission"
:
{
"permission"
:
{
"create"
:
"auth.uid != null"
,
"create"
:
"auth.uid != null"
,
"delete"
:
"doc.uid == auth.uid"
,
"delete"
:
"doc.u
ser_
id == auth.uid"
,
"read"
:
true
,
"read"
:
true
,
"update"
:
"doc.uid == auth.uid"
"update"
:
"doc.u
ser_
id == auth.uid"
},
},
"properties"
:
{
"properties"
:
{
"_id"
:
{
"_id"
:
{
...
...
uniCloud-aliyun/database/opendb-news-articles.schema.json
浏览文件 @
e7143b0f
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
"bsonType"
:
"object"
,
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
,
"title"
,
"content"
],
"required"
:
[
"user_id"
,
"title"
,
"content"
],
"permission"
:
{
"permission"
:
{
"read"
:
"doc.article_status == 1"
,
"read"
:
false
,
"create"
:
"auth.uid != null"
,
"create"
:
"auth.uid != null"
,
"update"
:
"doc.uid == auth.uid"
,
"update"
:
"doc.u
ser_
id == auth.uid"
,
"delete"
:
"doc.uid == auth.uid"
"delete"
:
"doc.u
ser_
id == auth.uid"
},
},
"properties"
:
{
"properties"
:
{
"_id"
:
{
"_id"
:
{
...
...
uniCloud-aliyun/database/opendb-news-comments.schema.json
浏览文件 @
e7143b0f
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
"permission"
:
{
"permission"
:
{
"read"
:
true
,
"read"
:
true
,
"create"
:
"auth.uid != null && get(`database.opendb-news-article.${doc.article_id}`).comment_status == 1"
,
"create"
:
"auth.uid != null && get(`database.opendb-news-article.${doc.article_id}`).comment_status == 1"
,
"update"
:
"doc.uid == auth.uid"
,
"update"
:
"doc.u
ser_
id == auth.uid"
,
"delete"
:
"doc.uid == auth.uid"
"delete"
:
"doc.u
ser_
id == auth.uid"
},
},
"properties"
:
{
"properties"
:
{
"_id"
:
{
"_id"
:
{
...
@@ -65,4 +65,4 @@
...
@@ -65,4 +65,4 @@
}
}
}
}
}
}
}
}
uniCloud-aliyun/database/opendb-news-favorite.schema.json
浏览文件 @
e7143b0f
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
"bsonType"
:
"object"
,
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
,
"article_id"
],
"required"
:
[
"user_id"
,
"article_id"
],
"permission"
:
{
"permission"
:
{
"read"
:
"doc.uid == auth.uid"
,
"read"
:
"doc.u
ser_
id == auth.uid"
,
"create"
:
"auth.uid != null"
,
"create"
:
"auth.uid != null"
,
"update"
:
"doc.uid == auth.uid"
,
"update"
:
"doc.u
ser_
id == auth.uid"
,
"delete"
:
"doc.uid == auth.uid"
"delete"
:
"doc.u
ser_
id == auth.uid"
},
},
"properties"
:
{
"properties"
:
{
"_id"
:
{
"_id"
:
{
...
@@ -43,4 +43,4 @@
...
@@ -43,4 +43,4 @@
}
}
}
}
}
}
}
}
uniCloud-aliyun/database/read-news-log.schema.json
浏览文件 @
e7143b0f
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
"bsonType"
:
"object"
,
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
,
"article_id"
],
"required"
:
[
"user_id"
,
"article_id"
],
"permission"
:
{
"permission"
:
{
"read"
:
"doc.uid == auth.uid"
,
"read"
:
"doc.u
ser_
id == auth.uid"
,
"create"
:
"auth.uid != null"
,
"create"
:
"auth.uid != null"
,
"update"
:
"doc.uid == auth.uid"
"update"
:
"doc.u
ser_
id == auth.uid"
//
"delete"
:
"doc.uid == auth.uid"
//
"delete"
:
"doc.u
ser_
id == auth.uid"
},
},
"properties"
:
{
"properties"
:
{
"_id"
:
{
"_id"
:
{
...
@@ -32,4 +32,4 @@
...
@@ -32,4 +32,4 @@
}
}
}
}
}
}
}
}
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
浏览文件 @
e7143b0f
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"tokenExpiresIn"
:
7200
,
"tokenExpiresIn"
:
7200
,
"tokenExpiresThreshold"
:
600
,
"tokenExpiresThreshold"
:
600
,
"passwordErrorLimit"
:
6
,
"passwordErrorLimit"
:
6
,
"bindTokenToDevice"
:
tru
e
,
"bindTokenToDevice"
:
fals
e
,
"passwordErrorRetryTime"
:
3600
,
"passwordErrorRetryTime"
:
3600
,
"autoSetInviteCode"
:
false
,
"autoSetInviteCode"
:
false
,
"forceInviteCode"
:
false
,
"forceInviteCode"
:
false
,
...
...
uni_modules_tools/copy/manifest.json
浏览文件 @
e7143b0f
{
{
"name"
:
"统一应用基本项目"
,
"name"
:
"统一应用基本项目"
,
"appid"
:
"请点击重新获取
"
,
"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"
:
{
"locales"
:
{
"locales"
:
{
"en"
:
{
"en"
:
{
//
英文
//
英文
"name"
:
"uni-starter"
,
//
应用名称
"name"
:
"uni-starter"
,
//
应用名称
"android"
:
{
"android"
:
{
"strings"
:
{
"strings"
:
{
//Android平台自定义字符串
//Android平台自定义字符串
"CustomKey"
:
"CustomValue"
"CustomKey"
:
"CustomValue"
}
}
},
},
"ios"
:
{
"ios"
:
{
"privacyDescription"
:
{
"privacyDescription"
:
{
//iOS平台隐私访问描述信息
//iOS平台隐私访问描述信息
"NSPhotoLibraryUsageDescription"
:
"access to the user’s photo library(read)"
"NSPhotoLibraryUsageDescription"
:
"access to the user’s photo library(read)"
},
},
"infoPlist"
:
{
"infoPlist"
:
{
//iOS平台自定义InfoPlist.strings
//iOS平台自定义InfoPlist.strings
"CustomKey"
:
"CustomValue"
"CustomKey"
:
"CustomValue"
}
}
}
}
},
},
"zh"
:
{
"zh"
:
{
//
中文(简体)
//
中文(简体)
"name"
:
"统一应用基本项目"
//
应用名称
"name"
:
"统一应用基本项目"
//
应用名称
}
}
},
"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"
:
false
,
"waiting"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
},
"modules"
:
{
"Fingerprint"
:
{
},
"Share"
:
{
},
"OAuth"
:
{
},
"FaceID"
:
{
},
"Push"
:
{
},
"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.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"
:
{
"capabilities"
:
{
"entitlements"
:
{
"com.apple.developer.associated-domains"
:
[
"applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com"
]
}
}
},
"sdkConfigs"
:
{
"oauth"
:
{
"apple"
:
{
},
"weixin"
:
{
"appid"
:
""
,
"appsecret"
:
""
,
"UniversalLinks"
:
""
},
"univerify"
:
{
}
},
},
"ad"
:
{
"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"
:
"暂不同意"
}
},
},
"share"
:
{
"compatible"
:
{
"weixin"
:
{
"ignoreVersion"
:
true
"appid"
:
""
,
"UniversalLinks"
:
""
}
},
},
"geolocation"
:
{
"usingComponents"
:
true
,
"baidu"
:
{
"nvueStyleCompiler"
:
"uni-app"
,
"__platform__"
:
[
"compilerVersion"
:
3
,
"ios"
,
"splashscreen"
:
{
"android"
"alwaysShowBeforeRender"
:
false
,
],
"waiting"
:
true
,
"appkey_ios"
:
"请填写地图的key"
,
"autoclose"
:
true
,
"appkey_android"
:
"请填写地图的key"
"delay"
:
0
}
},
},
"push"
:
{
"modules"
:
{
"unipush"
:
{
"Fingerprint"
:
{},
}
"Share"
:
{},
"OAuth"
:
{},
"FaceID"
:
{},
"Push"
:
{},
"Geolocation"
:
{}
},
},
"payment"
:
{
"distribute"
:
{
}
"android"
:
{
},
"permissions"
:
[
"icons"
:
{
"<uses-feature android:name=
\"
android.hardware.camera
\"
/>"
,
"android"
:
{
"<uses-feature android:name=
\"
android.hardware.camera.autofocus
\"
/>"
,
"hdpi"
:
""
,
"<uses-permission android:name=
\"
android.permission.ACCESS_NETWORK_STATE
\"
/>"
,
"xhdpi"
:
""
,
"<uses-permission android:name=
\"
android.permission.ACCESS_WIFI_STATE
\"
/>"
,
"xxhdpi"
:
""
,
"<uses-permission android:name=
\"
android.permission.CAMERA
\"
/>"
,
"xxxhdpi"
:
""
"<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.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"
:
{
"capabilities"
:
{
"entitlements"
:
{
"com.apple.developer.associated-domains"
:
[
"applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com"
]
}
}
},
"sdkConfigs"
:
{
"oauth"
:
{
"apple"
:
{},
"weixin"
:
{
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"appsecret"
:
""
,
"UniversalLinks"
:
""
},
"univerify"
:
{}
},
"ad"
:
{},
"share"
:
{
"weixin"
:
{
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"UniversalLinks"
:
""
}
},
"geolocation"
:
{
"baidu"
:
{
"__platform__"
:
[
"ios"
,
"android"
],
"appkey_ios"
:
"请填写地图的key"
,
"appkey_android"
:
"请填写地图的key"
}
},
"push"
:
{
"unipush"
:
{}
},
"payment"
:
{}
},
"icons"
:
{
"android"
:
{
"hdpi"
:
""
,
"xhdpi"
:
""
,
"xxhdpi"
:
""
,
"xxxhdpi"
:
""
},
"ios"
:
{
"appstore"
:
""
,
"ipad"
:
{
"app"
:
""
,
"app@2x"
:
""
,
"notification"
:
""
,
"notification@2x"
:
""
,
"proapp@2x"
:
""
,
"settings"
:
""
,
"settings@2x"
:
""
,
"spotlight"
:
""
,
"spotlight@2x"
:
""
},
"iphone"
:
{
"app@2x"
:
""
,
"app@3x"
:
""
,
"notification@2x"
:
""
,
"notification@3x"
:
""
,
"settings@2x"
:
""
,
"settings@3x"
:
""
,
"spotlight@2x"
:
""
,
"spotlight@3x"
:
""
}
}
},
"splashscreen"
:
{
"iosStyle"
:
"common"
,
"androidStyle"
:
"common"
}
},
"nvueLaunchMode"
:
""
},
"quickapp"
:
{},
"mp-weixin"
:
{
"appid"
:
""
,
"setting"
:
{
"urlCheck"
:
false
,
"es6"
:
false
},
},
"ios"
:
{
"usingComponents"
:
true
,
"appstore"
:
""
,
"betterScopedSlots"
:
true
,
"ipad"
:
{
"permission"
:
{
"app"
:
""
,
"scope.userLocation"
:
{
"app@2x"
:
""
,
"desc"
:
"演示在onShow生命周期获取地理位置"
"notification"
:
""
,
}
"notification@2x"
:
""
,
"proapp@2x"
:
""
,
"settings"
:
""
,
"settings@2x"
:
""
,
"spotlight"
:
""
,
"spotlight@2x"
:
""
},
"iphone"
:
{
"app@2x"
:
""
,
"app@3x"
:
""
,
"notification@2x"
:
""
,
"notification@3x"
:
""
,
"settings@2x"
:
""
,
"settings@3x"
:
""
,
"spotlight@2x"
:
""
,
"spotlight@3x"
:
""
}
}
}
},
"splashscreen"
:
{
"iosStyle"
:
"common"
,
"androidStyle"
:
"common"
}
},
},
"nvueLaunchMode"
:
""
"mp-alipay"
:
{
},
"usingComponents"
:
true
"quickapp"
:
{
},
},
"mp-baidu"
:
{
"mp-weixin"
:
{
"usingComponents"
:
true
"appid"
:
""
,
"setting"
:
{
"urlCheck"
:
false
,
"es6"
:
false
},
},
"usingComponents"
:
true
,
"mp-toutiao"
:
{
"betterScopedSlots"
:
true
,
"usingComponents"
:
true
"permission"
:
{
},
"scope.userLocation"
:
{
"uniStatistics"
:
{
"desc"
:
"演示在onShow生命周期获取地理位置"
"enable"
:
false
}
},
}
"h5"
:
{
},
"template"
:
""
,
"mp-alipay"
:
{
"sdkConfigs"
:
{
"usingComponents"
:
true
"maps"
:
{
},
"qqmap"
:
{
"mp-baidu"
:
{
"key"
:
""
"usingComponents"
:
true
}
},
}
"mp-toutiao"
:
{
"usingComponents"
:
true
},
"uniStatistics"
:
{
"enable"
:
false
},
"h5"
:
{
"template"
:
""
,
"sdkConfigs"
:
{
"maps"
:
{
"qqmap"
:
{
"key"
:
""
}
}
}
},
}
"_spaceID"
:
""
,
},
"vueVersion"
:
"2"
"_spaceID"
:
""
,
"vueVersion"
:
"2"
}
}
//...
//...
//
中文(简体)
//
中文(简体)
//
应用名称
//
应用名称
uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
浏览文件 @
e7143b0f
{
{
"passwordSecret"
:
"passwordSecret-demo"
,
"passwordSecret"
:
"passwordSecret-demo"
,
"tokenSecret"
:
"tokenSecret-demo"
,
"tokenSecret"
:
"tokenSecret-demo"
,
"tokenExpiresIn"
:
7200
,
"tokenExpiresIn"
:
7200
,
"tokenExpiresThreshold"
:
600
,
"tokenExpiresThreshold"
:
600
,
"passwordErrorLimit"
:
6
,
"passwordErrorLimit"
:
6
,
"bindTokenToDevice"
:
true
,
"bindTokenToDevice"
:
false
,
"passwordErrorRetryTime"
:
3600
,
"passwordErrorRetryTime"
:
3600
,
"autoSetInviteCode"
:
false
,
"autoSetInviteCode"
:
false
,
"forceInviteCode"
:
false
,
"forceInviteCode"
:
false
,
"app-plus"
:
{
"app-plus"
:
{
"tokenExpiresIn"
:
2592000
,
"tokenExpiresIn"
:
2592000
,
"oauth"
:
{
"oauth"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"填写来源微信开放平台https://open.weixin.qq.com/创建的应用的appid"
,
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"appsecret"
:
"填写来源微信开放平台https://open.weixin.qq.com/创建的应用的appsecret"
"appsecret"
:
"6c9119430d7be0a147bcbbb73ef33acf"
},
},
"apple"
:
{
"apple"
:
{
"bundleId"
:
"苹果开发者后台获取的bundleId"
"bundleId"
:
"苹果开发者后台获取的bundleId"
}
}
}
}
},
},
"mp-weixin"
:
{
"mp-weixin"
:
{
"oauth"
:
{
"oauth"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"微信小程序登录所用的appid、appsecret需要在对应的小程序管理控制台获取"
,
"appid"
:
"wx81dbb061d2258234"
,
"appsecret"
:
"微信小程序后台获取的appsecret"
"appsecret"
:
"51977820eb14cd71377d4048a1b4754e"
}
}
}
}
},
},
"mp-alipay"
:
{
"mp-alipay"
:
{
"oauth"
:
{
"oauth"
:
{
"alipay"
:
{
"alipay"
:
{
"appid"
:
"支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr"
,
"appid"
:
"支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr"
,
"privateKey"
:
"支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr"
"privateKey"
:
"支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr"
}
}
}
}
},
},
"service"
:
{
"service"
:
{
"sms"
:
{
"sms"
:
{
"name"
:
"应用名称,对应短信模版的name"
,
"name"
:
"应用名称,对应短信模版的name"
,
"codeExpiresIn"
:
300
,
"codeExpiresIn"
:
300
,
"smsKey"
:
"短信密钥key,开通短信服务处可以看到"
,
"smsKey"
:
"短信密钥key,开通短信服务处可以看到"
,
"smsSecret"
:
"短信密钥secret,开通短信服务处可以看到"
"smsSecret"
:
"短信密钥secret,开通短信服务处可以看到"
},
},
"univerify"
:
{
"univerify"
:
{
"appid"
:
"当前应用的appid,使用云函数URL化,此项必须配置"
,
"appid"
:
"当前应用的appid,使用云函数URL化,此项必须配置"
,
"apiKey"
:
"apiKey 和 apiSecret 在开发者中心获取,开发者中心:https://dev.dcloud.net.cn/uniLogin/index?type=0,文档:https://ask.dcloud.net.cn/article/37965"
,
"apiKey"
:
"apiKey 和 apiSecret 在开发者中心获取,开发者中心:https://dev.dcloud.net.cn/uniLogin/index?type=0,文档:https://ask.dcloud.net.cn/article/37965"
,
"apiSecret"
:
""
"apiSecret"
:
""
}
}
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录