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
bae
2020-11-14 01:14:21 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
478a37c325c0972b163c3dca615dbf9398e3d357
478a37c3
2 parents
d8e3d2f5
250025f8
Merge branch 'main' of
https://github.com/KHUSAT/khusat_server
into main
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 @
478a37c
No preview for this file type
khusat_DB/question_db.xlsx
View file @
478a37c
No preview for this file type
src/models/questions.js
View file @
478a37c
...
...
@@ -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 @
478a37c
...
...
@@ -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