Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
front-document
/
front-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c0904d6b
authored
Mar 10, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add;添加git commit日志信息
1 parent
26fdf7bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
app/model/project_info.js
app/service/project.js
app/model/project_info.js
View file @
c0904d6
...
@@ -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
...
...
app/service/project.js
View file @
c0904d6
...
@@ -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",
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment