提交 573f01e5 编写于 作者: VK1688's avatar VK1688

1.9.0

上级 f50748e4
###【重要】由于uni官方限制自定义表不可以用 `opendb-` 和 `uni-` 开头,故以下数据库表名只能进行调整
* 1、`opendb-components-dynamic` 改为 `vk-components-dynamic`
* 2、`opendb-global-data` 改为 `vk-global-data`
* 3、`uni-id-files` 改为 `vk-files`
* 4、`uni-id-files-categories` 改为 `vk-files-categories`
___更改表名势必会对老项目产生影响。(对新项目无影响)___
### 老项目更新注意事项:
* 1、老项目更新后,还需要从 `unicloud控制台` 把表名改成对应的新表名
* 2、在项目代码中全局搜索旧表名,替换成新表名
##### 框架更新步骤 [点击查看](https://vkdoc.fsq.pub/admin/1/update.html)
##### 框架学习Q群:`22466457` 欢迎萌新和大佬来使用和共同改进框架
##### 如果你觉得框架对你有用,可以在下方进行评论,也可以进行赞赏。
## 1.9.0(2022-02-26)
###【重要】由于uni官方限制自定义表不可以用 `opendb-` 和 `uni-` 开头,故以下数据库表名只能进行调整
* 1、`opendb-components-dynamic` 改为 `vk-components-dynamic`
* 2、`opendb-global-data` 改为 `vk-global-data`
* 3、`uni-id-files` 改为 `vk-files`
* 4、`uni-id-files-categories` 改为 `vk-files-categories`
___更改表名势必会对老项目产生影响。(对新项目无影响)___
### 老项目更新注意事项:
* 1、老项目更新后,还需要从 `unicloud控制台` 把表名改成对应的新表名
* 2、在项目代码中全局搜索旧表名,替换成新表名
##### 框架更新步骤 [点击查看](https://vkdoc.fsq.pub/admin/1/update.html)
##### 框架学习Q群:`22466457` 欢迎萌新和大佬来使用和共同改进框架
##### 如果你觉得框架对你有用,可以在下方进行评论,也可以进行赞赏。
## 1.8.13(2022-02-24)
* 1、【升级】`vk-unicloud-admin-ui` 包升级至 `1.8.36`
* 2、【新增】`addAdminLog` 中间件示例。
......
{
"name": "vk-unicloud-admin",
"version": "1.8.12",
"version": "1.8.13",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -104,9 +104,9 @@
}
},
"vk-unicloud-admin-ui": {
"version": "1.8.36",
"resolved": "https://registry.npmjs.org/vk-unicloud-admin-ui/-/vk-unicloud-admin-ui-1.8.36.tgz",
"integrity": "sha512-4rHOsiPRaEVK3HMMQ5i1hp0sFbbUboXVk/unwg7iR0aeofMPQOi8ibxbjgLdINoOIAY5HQ8IhRhMuvrqT8+WjQ=="
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/vk-unicloud-admin-ui/-/vk-unicloud-admin-ui-1.9.0.tgz",
"integrity": "sha512-BXwQrgu8S6I8ChONksR+8iqpniYuK/b1Uo4ZRH0JF/ER5tGcEw0F144jXP8oi0qp3LpqPevORVJaBcx8iaMa+A=="
},
"vuedraggable": {
"version": "2.24.3",
......
{
"id": "vk-unicloud-admin",
"name": "vk-unicloud-admin",
"version": "1.8.13",
"version": "1.9.0",
"displayName": "【开箱即用】vk-unicloud-admin-快速开发框架-打造unicloud最好用的admin",
"description": "vk-unicloud-admin是基于unicloud+uni-id+element+vk-unicloud-router的一套快速PC admin企业级开发框架。小白几分钟即完成一个页面CRUD。",
"keywords": [
......@@ -22,7 +22,7 @@
"dependencies": {
"element-ui": "^2.15.7",
"umy-ui": "^1.1.6",
"vk-unicloud-admin-ui": "^1.8.36"
"vk-unicloud-admin-ui": "^1.9.0"
},
"engines": {
"HBuilderX": "^3.1.10"
......
......@@ -24,10 +24,10 @@
{ "path": "system/permission/list" },
{ "path": "system/menu/list" },
{ "path": "system/app/list" },
{ "path": "system_uni/opendb-global-data" },
{ "path": "system_uni/vk-global-data" },
{ "path": "system_uni/uni-id-log" },
{ "path": "system_uni/opendb-admin-log" },
{ "path": "system_uni/opendb-components-dynamic" },
{ "path": "system_uni/vk-components-dynamic" },
{ "path": "system_uni/uni-id-files/list" }
]
},
......
......@@ -26,7 +26,7 @@ module.exports = {
if(vk.pubfn.isNullOne(data_id, data)){
return { code : -1, msg : '参数错误' };
}
let dbName = "opendb-components-dynamic";
let dbName = "vk-components-dynamic";
// 检测key是否已存在
let num = await vk.baseDao.count({
dbName:dbName,
......
......@@ -21,7 +21,7 @@ module.exports = {
}
// 执行数据库API请求
let num = await vk.baseDao.del({
dbName:"opendb-components-dynamic",
dbName:"vk-components-dynamic",
whereJson:{
_id
}
......
......@@ -18,7 +18,7 @@ module.exports = {
let { uid } = data;
let res = { code : 0, msg : '' };
// 业务逻辑开始-----------------------------------------------------------
let dbName = "opendb-components-dynamic";
let dbName = "vk-components-dynamic";
res = await vk.baseDao.getTableData({
dbName,
data,
......
......@@ -23,7 +23,7 @@ module.exports = {
if(vk.pubfn.isNullOne(_id, data_id)){
return { code : -1, msg : '参数错误' };
}
let dbName = "opendb-components-dynamic";
let dbName = "vk-components-dynamic";
// 检测data_id是否已存在
let num = await vk.baseDao.count({
......
......@@ -28,7 +28,7 @@ module.exports = {
return formRulesRes;
}
let dbName = "opendb-global-data";
let dbName = "vk-global-data";
// 检测key是否已存在
let num = await vk.baseDao.count({
dbName:dbName,
......
......@@ -19,7 +19,7 @@ module.exports = {
if(vk.pubfn.isNullOne(_id)){
return { code : -1, msg : '_id不能为空' };
}
let dbName = "opendb-global-data";
let dbName = "vk-global-data";
// 执行数据库API请求
let num = await vk.baseDao.del({
dbName:dbName,
......
......@@ -18,7 +18,7 @@ module.exports = {
let { uid } = data;
let res = { code : 0, msg : '' };
// 业务逻辑开始-----------------------------------------------------------
let dbName = "opendb-global-data";
let dbName = "vk-global-data";
res = await vk.baseDao.getTableData({
dbName,
data,
......
......@@ -30,7 +30,7 @@ module.exports = {
return formRulesRes;
}
let dbName = "opendb-global-data";
let dbName = "vk-global-data";
// 检测key是否已存在
let num = await vk.baseDao.count({
dbName:dbName,
......
......@@ -18,7 +18,7 @@ module.exports = {
let { uid } = data;
let res = { code : 0, msg : '' };
// 业务逻辑开始-----------------------------------------------------------
let dbName = "uni-id-files-categories";
let dbName = "vk-files-categories";
res = await vk.baseDao.getTableData({
dbName,
data,
......
......@@ -25,7 +25,7 @@ module.exports = {
if(vk.pubfn.isNull(name)){
return { code : -1, msg : '名称不能为空' };
}
let dbName = "uni-id-files-categories";
let dbName = "vk-files-categories";
// 检测key是否已存在
let num = await vk.baseDao.count({
dbName,
......
......@@ -19,7 +19,7 @@ module.exports = {
if(vk.pubfn.isNullOne(_id)){
return { code : -1, msg : '_id不能为空' };
}
let dbName = "uni-id-files-categories";
let dbName = "vk-files-categories";
await vk.baseDao.deleteById({
dbName,
id:_id
......
......@@ -28,7 +28,7 @@ module.exports = {
if(vk.pubfn.isNull(name)){
return { code : -1, msg : '名称不能为空' };
}
let dbName = "uni-id-files-categories";
let dbName = "vk-files-categories";
// 检测data_id是否已存在
let num = await vk.baseDao.count({
......
......@@ -33,7 +33,7 @@ module.exports = {
whereJson["_id"] = _.in(_id);
}
let selectRes = await vk.baseDao.select({
dbName: "uni-id-files",
dbName: "vk-files",
pageIndex: 1,
pageSize: 500,
getMain: true,
......@@ -49,7 +49,7 @@ module.exports = {
} catch (err) {}
// 执行数据库API请求
res.num = await vk.baseDao.del({
dbName: "uni-id-files",
dbName: "vk-files",
whereJson
});
}
......
......@@ -18,7 +18,7 @@ module.exports = {
let { uid } = data;
let res = { code: 0, msg: '' };
// 业务逻辑开始-----------------------------------------------------------
let dbName = "uni-id-files";
let dbName = "vk-files";
let whereJson = {};
let { role = [] } = userInfo;
let { formData = {} } = data;
......
......@@ -27,7 +27,7 @@ module.exports = {
if (vk.pubfn.isNullOne(_id)) {
return { code: -1, msg: '_id不能为空' };
}
let dbName = "uni-id-files";
let dbName = "vk-files";
let whereJson = {};
let dataJson = {
display_name,
......
......@@ -18,7 +18,7 @@ module.exports = {
// 业务逻辑开始-----------------------------------------------------------
// 根据ids获取组件动态数据列表
let res_select = await vk.baseDao.select({
dbName:"opendb-components-dynamic",
dbName:"vk-components-dynamic",
getCount:false,
pageSize:100,
whereJson:{
......
......@@ -14,7 +14,7 @@ module.exports = {
let res = { code : 0, msg : 'ok' };
// 业务逻辑开始-----------------------------------------------------------
// 承载所有读操作的 promise 的数组
let dbName = "opendb-components-dynamic";
let dbName = "vk-components-dynamic";
let data_ids = [
"vk-test-notice-bar-01",
"vk-test-notice-bar-02",
......
......@@ -14,7 +14,7 @@ module.exports = {
let res = { code : 0, msg : 'ok' };
// 业务逻辑开始-----------------------------------------------------------
res.num = await vk.baseDao.update({
dbName:"opendb-components-dynamic",
dbName:"vk-components-dynamic",
whereJson:{
data_id : data_id,
},
......
......@@ -59,7 +59,7 @@ module.exports = {
dataJson["category_id"] = category_id;
}
await vk.baseDao.add({
dbName: "uni-id-files",
dbName: "vk-files",
dataJson
});
// 业务逻辑结束-----------------------------------------------------------
......
......@@ -122,23 +122,6 @@
}
]
},
"opendb-components-dynamic":{
"data": [],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "data_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "data_id","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "title",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "title","Direction": "1"}],"MgoIsUnique": false}
}
]
},
"uni-id-log":{
"data": [],
"index": [
......@@ -183,6 +166,10 @@
}
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "role_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "role_id","Direction": "1"}],"MgoIsUnique": true}
......@@ -360,9 +347,9 @@
"parent_id":"system-uni"
},
{
"_id": "system-uni-opendb-global-data",
"_id": "system-uni-vk-global-data",
"_add_time": 1596416400000,
"permission_id":"system-uni-opendb-global-data",
"permission_id":"system-uni-vk-global-data",
"permission_name": "系统 - 缓存管理",
"comment":"",
"url": ["admin/system_uni/global-data/sys/*"],
......@@ -372,9 +359,9 @@
"parent_id":"system-uni"
},
{
"_id": "system-uni-opendb-components-dynamic",
"_id": "system-uni-vk-components-dynamic",
"_add_time": 1596416400000,
"permission_id":"system-uni-opendb-components-dynamic",
"permission_id":"system-uni-vk-components-dynamic",
"permission_name": "系统 - 动态组件数据管理",
"comment":"",
"url": ["admin/system_uni/components-dynamic/sys/*"],
......@@ -409,6 +396,10 @@
}
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "permission_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "permission_id","Direction": "1"}],"MgoIsUnique": true}
......@@ -521,24 +512,24 @@
"parent_id": "system-uni"
},
{
"_id": "system-uni-opendb-global-data",
"_id": "system-uni-vk-global-data",
"enable": true,
"icon": "",
"menu_id": "system-uni-opendb-global-data",
"menu_id": "system-uni-vk-global-data",
"name": "系统缓存管理",
"parent_id": "system-uni",
"sort": 2,
"url": "/pages_plugs/system_uni/opendb-global-data",
"url": "/pages_plugs/system_uni/vk-global-data",
"_add_time": 1596416400000
},
{
"_id": "system-uni-opendb-components-dynamic",
"_id": "system-uni-vk-components-dynamic",
"sort": 3,
"url": "/pages_plugs/system_uni/opendb-components-dynamic",
"url": "/pages_plugs/system_uni/vk-components-dynamic",
"_add_time": 1596416400000,
"enable": true,
"icon": "",
"menu_id": "system-uni-opendb-components-dynamic",
"menu_id": "system-uni-vk-components-dynamic",
"name": "动态组件数据",
"parent_id": "system-uni"
},
......@@ -566,6 +557,10 @@
}
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "menu_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "menu_id","Direction": "1"}],"MgoIsUnique": true}
......@@ -584,7 +579,89 @@
}
]
},
"opendb-global-data":{
"opendb-app-list": {
"data": [
{
"_id":"001",
"appid": "__UNI__01F080F",
"type": "client",
"name": "用户端",
"description": "此为用户端应用",
"create_date": 1596416400000,
"_add_time": 1596416400000,
"_add_time_str": "2020-08-03 09:00:00"
},
{
"_id":"002",
"appid": "__UNI__570A7FB",
"type": "admin",
"name": "管理端",
"description": "此为管理端应用",
"create_date": 1596416400000,
"_add_time": 1596416400000,
"_add_time_str": "2020-08-03 09:00:00"
}
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "appid",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "appid","Direction": "1"}],"MgoIsUnique": true}
},
{
"IndexName": "name",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "name","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "type",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "type","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "create_date",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "create_date","Direction": "1"}],"MgoIsUnique": false}
}
]
},
"opendb-admin-log":{
"data": [
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "user_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "user_id","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "title",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "title","Direction": "1"}],"MgoIsUnique": false}
}
]
},
"vk-components-dynamic":{
"data": [],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "data_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "data_id","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "title",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "title","Direction": "1"}],"MgoIsUnique": false}
}
]
},
"vk-global-data":{
"data":[
],
......@@ -603,7 +680,7 @@
}
]
},
"uni-id-files": {
"vk-files": {
"data": [],
"index": [
{
......@@ -636,7 +713,7 @@
}
]
},
"uni-id-files-categories": {
"vk-files-categories": {
"data": [],
"index": [
{
......@@ -652,70 +729,5 @@
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "sort","Direction": "1"}],"MgoIsUnique": false}
}
]
},
"opendb-app-list": {
"data": [
{
"_id":"001",
"appid": "__UNI__01F080F",
"type": "client",
"name": "用户端",
"description": "此为用户端应用",
"create_date": 1596416400000,
"_add_time": 1596416400000,
"_add_time_str": "2020-08-03 09:00:00"
},
{
"_id":"002",
"appid": "__UNI__570A7FB",
"type": "admin",
"name": "管理端",
"description": "此为管理端应用",
"create_date": 1596416400000,
"_add_time": 1596416400000,
"_add_time_str": "2020-08-03 09:00:00"
}
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "appid",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "appid","Direction": "1"}],"MgoIsUnique": true}
},
{
"IndexName": "name",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "name","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "type",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "type","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "create_date",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "create_date","Direction": "1"}],"MgoIsUnique": false}
}
]
},
"opendb-admin-log":{
"data": [
],
"index": [
{
"IndexName": "_add_time",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "_add_time","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "user_id",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "user_id","Direction": "1"}],"MgoIsUnique": false}
},
{
"IndexName": "title",
"MgoKeySchema": {"MgoIndexKeys": [{"Name": "title","Direction": "1"}],"MgoIsUnique": false}
}
]
}
}
}
......@@ -6,7 +6,7 @@
{"_id": "sys-app-manage","_add_time": 1596416400000,"menu_id":"sys-app-manage","name": "应用管理","icon":"el-icon-cloudy","url": "/pages_plugs/system/app/list","comment":"应用管理","sort": 5,"parent_id":"sys-admin","enable":true}
{"_id": "system-uni","_add_time": 1596416400000,"enable": true,"icon": "el-icon-s-tools","menu_id": "system-uni","name": "系统设置","sort": 110}
{"_id": "system-uni-uni-id-files","sort": 1,"url": "/pages_plugs/system_uni/uni-id-files/list","_add_time": 1596416400000,"enable": true,"icon": "el-icon-folder-opened","menu_id": "system-uni-uni-id-files","name": "素材管理","parent_id": "system-uni"}
{"_id": "system-uni-opendb-global-data","enable": true,"icon": "","menu_id": "system-uni-opendb-global-data","name": "系统缓存管理","parent_id": "system-uni","sort": 2,"url": "/pages_plugs/system_uni/opendb-global-data","_add_time": 1596416400000}
{"_id": "system-uni-opendb-components-dynamic","sort": 3,"url": "/pages_plugs/system_uni/opendb-components-dynamic","_add_time": 1596416400000,"enable": true,"icon": "","menu_id": "system-uni-opendb-components-dynamic","name": "动态组件数据","parent_id": "system-uni"}
{"_id": "system-uni-vk-global-data","enable": true,"icon": "","menu_id": "system-uni-vk-global-data","name": "系统缓存管理","parent_id": "system-uni","sort": 2,"url": "/pages_plugs/system_uni/vk-global-data","_add_time": 1596416400000}
{"_id": "system-uni-vk-components-dynamic","sort": 3,"url": "/pages_plugs/system_uni/vk-components-dynamic","_add_time": 1596416400000,"enable": true,"icon": "","menu_id": "system-uni-vk-components-dynamic","name": "动态组件数据","parent_id": "system-uni"}
{"_id": "system-uni-uni-id-log","sort": 8,"url": "/pages_plugs/system_uni/uni-id-log","_add_time": 1596416400000,"enable": true,"icon": "","menu_id": "system-uni-uni-id-log","name": "用户登录日志","parent_id": "system-uni"}
{"_id": "system-uni-opendb-admin-log","sort": 9,"url": "/pages_plugs/system_uni/opendb-admin-log","_add_time": 1596416400000,"enable": true,"icon": "","menu_id": "system-uni-opendb-admin-log","name": "系统操作日志","parent_id": "system-uni"}
\ No newline at end of file
......@@ -11,7 +11,7 @@
{"_id": "sys-manage-app","_add_time": 1596416400000,"permission_id":"sys-manage-app","permission_name": "系统 - 应用管理","comment":"","url": ["admin/system/app/sys/*"],"sort": 5,"enable":true,"match_mode":1,"parent_id":"sys-manage"}
{"_id": "system-uni","_add_time": 1596416400000,"permission_id":"system-uni","permission_name": "系统设置","comment":"","sort": 3,"enable":true}
{"_id": "system-uni-uni-id-files","_add_time": 1596416400000,"permission_id":"system-uni-uni-id-files","permission_name": "系统 - 素材管理","comment":"","url": ["admin/system_uni/uni-id-files/*"],"sort": 1,"enable":true,"match_mode":1,"parent_id":"system-uni"}
{"_id": "system-uni-opendb-global-data","_add_time": 1596416400000,"permission_id":"system-uni-opendb-global-data","permission_name": "系统 - 缓存管理","comment":"","url": ["admin/system_uni/global-data/sys/*"],"sort": 2,"enable":true,"match_mode":1,"parent_id":"system-uni"}
{"_id": "system-uni-opendb-components-dynamic","_add_time": 1596416400000,"permission_id":"system-uni-opendb-components-dynamic","permission_name": "系统 - 动态组件数据管理","comment":"","url": ["admin/system_uni/components-dynamic/sys/*"],"sort": 3,"enable":true,"match_mode":1,"parent_id":"system-uni"}
{"_id": "system-uni-vk-global-data","_add_time": 1596416400000,"permission_id":"system-uni-vk-global-data","permission_name": "系统 - 缓存管理","comment":"","url": ["admin/system_uni/global-data/sys/*"],"sort": 2,"enable":true,"match_mode":1,"parent_id":"system-uni"}
{"_id": "system-uni-vk-components-dynamic","_add_time": 1596416400000,"permission_id":"system-uni-vk-components-dynamic","permission_name": "系统 - 动态组件数据管理","comment":"","url": ["admin/system_uni/components-dynamic/sys/*"],"sort": 3,"enable":true,"match_mode":1,"parent_id":"system-uni"}
{"_id": "system-uni-uni-id-log","_add_time": 1596416400000,"permission_id":"system-uni-uni-id-log","permission_name": "系统 - 用户登录日志管理","comment":"","url": ["admin/system_uni/uni-id-log/sys/*"],"sort": 4,"enable":true,"match_mode":1,"parent_id":"system-uni"}
{"_id": "system-uni-opendb-admin-log","_add_time": 1596416400000,"permission_id":"system-uni-opendb-admin-log","permission_name": "系统 - 操作日志管理","comment":"","url": ["admin/system_uni/admin-log/sys/*"],"sort": 5,"enable":true,"match_mode":1,"parent_id":"system-uni"}
\ No newline at end of file
......@@ -11,17 +11,17 @@
"url": "/pages_plugs/system_uni/uni-id-files/list",
"sort": 0
},{
"menu_id": "system-uni-opendb-global-data",
"menu_id": "system-uni-vk-global-data",
"name": "系统缓存管理",
"icon": "",
"url": "/pages_plugs/system_uni/opendb-global-data",
"url": "/pages_plugs/system_uni/vk-global-data",
"sort": 1
},
{
"menu_id": "system-uni-opendb-components-dynamic",
"menu_id": "system-uni-vk-components-dynamic",
"name": "动态组件数据",
"icon": "",
"url": "/pages_plugs/system_uni/opendb-components-dynamic",
"url": "/pages_plugs/system_uni/vk-components-dynamic",
"sort": 2
},
{
......
## 2.7.0(2022-02-26)
###【重要】由于uni官方限制自定义表不可以用 `opendb-` 和 `uni-` 开头,故以下数据库表名只能进行调整
* 1、`opendb-components-dynamic` 改为 `vk-components-dynamic`
* 2、`opendb-global-data` 改为 `vk-global-data`
* 3、`uni-id-files` 改为 `vk-files`
* 4、`uni-id-files-categories` 改为 `vk-files-categories`
___更改表名势必会对老项目产生影响。___
### 老项目更新注意事项:
* 1、老项目更新后,还需要从 `unicloud控制台` 把表名改成对应的新表名
* 2、在项目代码中全局搜索旧表名,替换成新表名
##### 框架学习Q群:`22466457` 欢迎萌新和大佬来使用和共同改进框架
##### 如果你觉得框架对你有用,可以在下方进行评论,也可以进行赞赏。
## 2.6.15(2022-02-24)
* 1、【优化】`万能连表` 支持副表外键是数组类型(只要数组内任意元素与主表外键匹配即可)[点击查看](https://vkdoc.fsq.pub/client/uniCloud/db/selects.html#%E5%9C%BA%E6%99%AF6)
* 2、【优化】其他一些细节
......
{
"id": "vk-unicloud",
"displayName": "vk-unicloud-router开发框架核心库 - 已集成uni-id 框架内置了众多API。",
"version": "2.6.15",
"version": "2.7.0",
"description": "此为vk-unicloud-router框架核心库(新手建议下载完整框架项目)已集成uni-id支持云函数url化。众多现成API,内置小白也能轻松上手的数据库API。使你项目刚起步进度就是百分之50",
"keywords": [
"vk-unicloud-router",
......
......@@ -34,7 +34,7 @@
#### 5、全面支持`url化`的云函数请求,您无需关心url化后参数的获取问题
#### 6、已集成`uni-id` 当前版本:`3.3.9`(已支持真实发送邮箱验证码和阿里云短信验证码)
#### 6、已集成`uni-id` 当前版本:`3.3.12`(已支持真实发送邮箱验证码和阿里云短信验证码)
```
6.1、由于每个应用基本都会用上用户系统,官方建议所有`uniCloud`应用均使用`uni-id`作为用户体系,
有了统一的账户规范,并且围绕这套账户规范,有各种各样插件,那么开发者可以随意整合这些插件,让数据连同。
......
{
"name": "vk-unicloud",
"version": "2.6.15",
"version": "2.7.0",
"description": "【云函数端SDK】VK云函数路由模式uniCloud开发框架,在router目录下执行 npm i vk-unicloud 进行安装和升级",
"main": "index.js",
"homepage": "https://gitee.com/vk-uni/vk-uni-cloud-router.git",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册