Merge branch 'main' of https://github.com/KHUSAT/khusat_server into main
Showing
4 changed files
with
23 additions
and
4 deletions
No preview for this file type
No preview for this file type
... | @@ -23,13 +23,29 @@ const questionSchema = new schema({ | ... | @@ -23,13 +23,29 @@ const questionSchema = new schema({ |
23 | type: String, | 23 | type: String, |
24 | default: "아니다" | 24 | default: "아니다" |
25 | }, | 25 | }, |
26 | - score1: { | 26 | + fit: { |
27 | type: Number, | 27 | type: Number, |
28 | - default: 50, | 28 | + default: 0, |
29 | }, | 29 | }, |
30 | - score2: { | 30 | + dtl: { |
31 | type: Number, | 31 | type: Number, |
32 | - default: -50, | 32 | + default: 0, |
33 | + }, | ||
34 | + trf: { | ||
35 | + type: Number, | ||
36 | + default: 0, | ||
37 | + }, | ||
38 | + ctr: { | ||
39 | + type: Number, | ||
40 | + default: 0, | ||
41 | + }, | ||
42 | + sup: { | ||
43 | + type: Number, | ||
44 | + default: 0, | ||
45 | + }, | ||
46 | + act: { | ||
47 | + type: Number, | ||
48 | + default: 0, | ||
33 | }, | 49 | }, |
34 | }); | 50 | }); |
35 | 51 | ... | ... |
... | @@ -71,6 +71,9 @@ module.exports = function(app) | ... | @@ -71,6 +71,9 @@ module.exports = function(app) |
71 | 71 | ||
72 | app.post('/addJobs', async(req, res, next) => { | 72 | app.post('/addJobs', async(req, res, next) => { |
73 | // 보직 추가하는 api | 73 | // 보직 추가하는 api |
74 | + const datas = req.body; | ||
75 | + | ||
76 | + | ||
74 | }); | 77 | }); |
75 | 78 | ||
76 | app.post('/addQuestions', async(req, res, next) => { | 79 | app.post('/addQuestions', async(req, res, next) => { | ... | ... |
-
Please register or login to post a comment