Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍용민
/
BusTime
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
유영빈
2021-06-09 10:44:19 +0900
1
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0cab76ba463d1543132cecd91c46690d7a66cff8
0cab76ba
1 parent
8e2974e2
모델 데이터 전송변수 관련 수정 요청
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
amendment_request_model.txt
amendment_request_model.txt
0 → 100644
View file @
0cab76b
코드 92번줄~ 수정 필요.
//기존 코드
body.remainTime = gapHour + "시간" + gapMin + "분 이상";
body.ETD_min_H = predictTime[0];
body.ETD_min_M = predictTime[1];
body.ETD_max_H = predictTime[2];
body.ETD_max_M = predictTime[3];
//수정 요청 코드
module.exports.data = {};
module.exports.data.remainTime = gapHour + "시간" + gapMin + "분 이상";
module.exports.ETD_min_H = predictTime[0];
module.exports.ETD_min_M = predictTime[1];
module.exports.ETD_max_H = predictTime[2];
module.exports.ETD_max_M = predictTime[3];
변수 명 body에 저장하면 파싱 body와 혼선될 가능성 높음.
exports로 데이터 전송 필요.
\ No newline at end of file
유영빈
@2019103019 commented
2021-06-09 06:54:16 UTC
Master
ETD~변수 module.exports.data 화
Please
register
or
login
to post a comment