diff --git a/.gitignore b/.gitignore index 7e6f18615fe9e5d35b6591b005a416245eb40d1e..78df13555fa2898860ecf3ca7fd7762a11bace49 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ unpackage/ .hbuilderx node_modules .DS_Store -uni_modules_tools/copy \ No newline at end of file +uni_modules_tools/copy +package-lock.json \ No newline at end of file diff --git a/changelog.md b/changelog.md index 7b62eb06c8e3911848f6cba0f996cad78265abde..d20d3e17141562e1b1decb7331d3196ac15ae021 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 1.0.38(2021-07-17) +删除多余文件 ## 1.0.37(2021-07-14) 去掉配置文件:`uni-starter.config.js`,`h5` —> `url`结尾的`/` ## 1.0.36(2021-07-14) diff --git a/manifest.json b/manifest.json index d16274cb086e53880d333da2e4f05c47a6c7baae..690f7a60b53ddf243711c1002f7a25903ef6edda 100644 --- a/manifest.json +++ b/manifest.json @@ -1,137 +1,119 @@ { - "name": "uni-starter", - "appid": "请点击重新获取", - "description": "云端一体应用快速开发模版", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - "app-plus": { - "privacy": { - "prompt": "template", - "template": { - "title": "服务协议和隐私政策", - "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", - "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": { - }, - "Push": { - } - }, - "distribute": { - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "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": "https://static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com/uni-universallinks/__UNI__03B096E" - }, - "univerify": { - } + "name" : "uni-starter", + "appid" : "__UNI__03B096E", + "description" : "云端一体应用快速开发模版", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + "app-plus" : { + "privacy" : { + "prompt" : "template", + "template" : { + "title" : "服务协议和隐私政策", + "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept" : "同意", + "buttonRefuse" : "暂不同意" + } + }, + "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": "https://static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com/uni-universallinks/__UNI__03B096E" - } + "modules" : { + "Fingerprint" : {}, + "Share" : {}, + "OAuth" : {}, + "FaceID" : {}, + "Push" : {} }, - "geolocation": { + "distribute" : { + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "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" : "https://static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com/uni-universallinks/__UNI__03B096E" + }, + "univerify" : {} + }, + "ad" : {}, + "share" : { + "weixin" : { + "appid" : "wxffdd8fa6ec4ef2a0", + "UniversalLinks" : "https://static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com/uni-universallinks/__UNI__03B096E" + } + }, + "geolocation" : {}, + "push" : { + "unipush" : {} + }, + "payment" : {} + } }, - "push": { - "unipush": { - } + "nvueLaunchMode" : "" + }, + "quickapp" : {}, + "mp-weixin" : { + "appid" : "wx81dbb061d2258234", + "setting" : { + "urlCheck" : false, + "es6" : false }, - "payment": { - } - } + "usingComponents" : true, + "betterScopedSlots" : true + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "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": "" - }, - "_spaceID": "76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e" -} \ No newline at end of file + "_spaceID" : "76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e" +} diff --git a/package.json b/package.json index 6c6e38d4f2d35b80032061bc28663a356dd9774d..51979dafb25348ad69e7dda43fecf726120472f0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.0.37", + "version": "1.0.38", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "uni-starter", diff --git a/uniCloud-aliyun/database/default.jql b/uniCloud-aliyun/database/default.jql new file mode 100644 index 0000000000000000000000000000000000000000..465356a46dcc688b3da922ce65ae05b56a04cc45 --- /dev/null +++ b/uniCloud-aliyun/database/default.jql @@ -0,0 +1,12 @@ +// 本文件用于,使用JQL语法操作项目关联的uniCloud空间的数据库,方便开发调试和远程数据库管理 +// 编写clientDB的js API(也支持常规js语法,比如var),可以对云数据库进行增删改查操作。不支持uniCloud-db组件写法 +// 可以全部运行,也可以选中部分代码运行。点击工具栏上的运行按钮或者按下【F5】键运行代码 +// 如果文档中存在多条JQL语句,只有最后一条语句生效 +// 如果混写了普通js,最后一条语句需是数据库操作语句 +// 此处代码运行不受DB Schema的权限控制,移植代码到实际业务中注意在schema中配好permission +// 不支持clientDB的action +// 数据库查询有最大返回条数限制,详见:https://uniapp.dcloud.net.cn/uniCloud/cf-database?id=limit +// 详细JQL语法,请参考 https://uniapp.dcloud.net.cn/uniCloud/clientdb?id=jsquery + +// 下面示例查询uni-id-users表的所有数据 +db.collection('uni-id-users').get(); diff --git a/uni_modules/uni-feedback/uniCloud/database/opendb-feedback.schema.json b/uni_modules/uni-feedback/uniCloud/database/opendb-feedback.schema.json index d64b865bd1f8860ce8a91013418d701a445c85f4..199c45b7378186a99ee16380fde1b35b1d1d21d0 100644 --- a/uni_modules/uni-feedback/uniCloud/database/opendb-feedback.schema.json +++ b/uni_modules/uni-feedback/uniCloud/database/opendb-feedback.schema.json @@ -3,9 +3,9 @@ "required": ["content"], "permission": { "create": "auth.uid != null", - "read": true, - "delete": true, - "update": true + "read": "auth.uid != null", + "delete": false, + "update": false }, "properties": { "_id": { diff --git a/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json b/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json index c76035427c5efa93749c33623941294652cd3c46..ce629556a993972e971f3ebc7a90bf68da2d8d1b 100644 --- a/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json +++ b/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json @@ -1,12 +1,26 @@ { "name": "uni-id", "version": "3.1.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, - "dependencies": { - "uni-captcha": { - "version": "file:../../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha" + "packages": { + "": { + "version": "3.1.0", + "license": "Apache-2.0", + "dependencies": { + "uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center" + } + }, + "../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center": { + "version": "0.0.2", + "license": "Apache-2.0" }, + "node_modules/uni-config-center": { + "resolved": "../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center", + "link": true + } + }, + "dependencies": { "uni-config-center": { "version": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center" } diff --git a/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package.json b/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package.json index 2885fed18c49558d5907cc3a714fac0a2a269435..6fd50bec6b02d172a08462767b9306a063957d3b 100644 --- a/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package.json +++ b/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package.json @@ -11,7 +11,6 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "uni-captcha": "file:../../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha", "uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center" } }