明树Git Lab

Commit 98e914f7 authored by zfp1's avatar zfp1

update

parent a4d32d79
Pipeline #108887 passed with stage
in 3 seconds
...@@ -1027,10 +1027,10 @@ async function listProject(req, res, next) { ...@@ -1027,10 +1027,10 @@ async function listProject(req, res, next) {
projectLzTypes = [7]; projectLzTypes = [7];
break; break;
case "xmdak": case "xmdak":
projectLzTypes = [5, 7, 8, 9]; projectLzTypes = [5, 7, 8, 9, 11, 12, 13];
break; break;
default: default:
projectLzTypes = [5, 7, 8, 9]; projectLzTypes = [5, 7, 8, 9, 11, 12, 13];
break; break;
} }
if (req.body.menuType) { if (req.body.menuType) {
......
...@@ -555,7 +555,7 @@ const Project = sequelize.define('Project', { ...@@ -555,7 +555,7 @@ const Project = sequelize.define('Project', {
Project.sync({ Project.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
// alter: true alter: true
}) })
.then(() => { .then(() => {
console.log('Project 表同步成功'); console.log('Project 表同步成功');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment