Commit c0904d6b by luyt

add;添加git commit日志信息

1 parent 26fdf7bc
...@@ -38,6 +38,14 @@ module.exports = app => { ...@@ -38,6 +38,14 @@ module.exports = app => {
type: DataTypes.STRING(255), type: DataTypes.STRING(255),
allowNull: true allowNull: true
}, },
git_url:{
type: DataTypes.STRING(255),
allowNull: true
},
git_id:{
type: DataTypes.STRING(255),
allowNull: true
},
create_at: { create_at: {
type: DataTypes.DATE, type: DataTypes.DATE,
allowNull: true allowNull: true
......
...@@ -33,6 +33,8 @@ class ProjectService extends Service { ...@@ -33,6 +33,8 @@ class ProjectService extends Service {
"test_url", "test_url",
"product_url", "product_url",
"technology", "technology",
"git_url",
"git_id"
], ],
}); });
} }
...@@ -48,6 +50,8 @@ class ProjectService extends Service { ...@@ -48,6 +50,8 @@ class ProjectService extends Service {
test_url: params.test_url, test_url: params.test_url,
product_url: params.product_url, product_url: params.product_url,
technology: params.technology, technology: params.technology,
git_url: params.git_url,
git_id: params.git_id,
created_at: now, created_at: now,
updated_at: now, updated_at: now,
del_flag: "n", del_flag: "n",
...@@ -68,6 +72,8 @@ class ProjectService extends Service { ...@@ -68,6 +72,8 @@ class ProjectService extends Service {
test_url: params.test_url, test_url: params.test_url,
product_url: params.product_url, product_url: params.product_url,
technology: params.technology, technology: params.technology,
git_url: params.git_url,
git_id: params.git_id,
// created_at: now, // created_at: now,
updated_at: now, updated_at: now,
// del_flag: "n", // del_flag: "n",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!