Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이진영
/
stockAlarm
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
Ubuntu
2021-06-07 11:15:25 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
872cbdb4946f537da5e8cf6a455d22b2ff61bb20
872cbdb4
1 parent
234017a5
translate stock name to stock code
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
app.js
app.js
View file @
872cbdb
...
...
@@ -19,6 +19,23 @@ app.post('/hook', function (req, res) {
var
source
=
eventObj
.
source
;
var
message
=
eventObj
.
message
;
let
storkList
=
[]
// ########
// file import
// for(let i=0; i<200; i++){
// [000660, SK하이닉스]
// stockList = [[000660, sk하이닉스], []]
}
for
(
let
i
=
0
;
i
<
stockList
.
length
;
i
++
){
if
(
stockList
[
i
][
1
]
==
SK
하이닉스
)
return
stickList
[
i
][
0
]
}
// ############
// request log
console
.
log
(
'======================'
,
new
Date
()
,
'======================'
);
console
.
log
(
'[request]'
,
req
.
body
);
...
...
Please
register
or
login
to post a comment