Toggle navigation
Toggle navigation
This project
Loading...
Sign in
khusat
/
khusat-server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박기홍
2020-11-14 00:55:42 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b3b44edab5efc4011e449f88e34b3d2f4a22e452
b3b44eda
1 parent
ea6db1f9
questions db updated
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
4 deletions
khusat_DB/job_db.xlsx
khusat_DB/question_db.xlsx
src/models/questions.js
src/router/index.js
khusat_DB/job_db.xlsx
View file @
b3b44ed
No preview for this file type
khusat_DB/question_db.xlsx
View file @
b3b44ed
No preview for this file type
src/models/questions.js
View file @
b3b44ed
...
...
@@ -23,13 +23,29 @@ const questionSchema = new schema({
type
:
String
,
default
:
"아니다"
},
score1
:
{
fit
:
{
type
:
Number
,
default
:
5
0
,
default
:
0
,
},
score2
:
{
dtl
:
{
type
:
Number
,
default
:
-
50
,
default
:
0
,
},
trf
:
{
type
:
Number
,
default
:
0
,
},
ctr
:
{
type
:
Number
,
default
:
0
,
},
sup
:
{
type
:
Number
,
default
:
0
,
},
act
:
{
type
:
Number
,
default
:
0
,
},
});
...
...
src/router/index.js
View file @
b3b44ed
...
...
@@ -71,6 +71,9 @@ module.exports = function(app)
app
.
post
(
'/addJobs'
,
async
(
req
,
res
,
next
)
=>
{
// 보직 추가하는 api
const
datas
=
req
.
body
;
});
app
.
post
(
'/addQuestions'
,
async
(
req
,
res
,
next
)
=>
{
...
...
Please
register
or
login
to post a comment