Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박하늘
/
stock_chatbot
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-08 02:22:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4fa03acbf37ea4b9ea377c136212b2f759ec18ee
4fa03acb
1 parent
f1c2d34f
app.js:if state minimize
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
14 deletions
server/app.js
server/app.js
View file @
4fa03ac
...
...
@@ -41,19 +41,7 @@ app.post('/hook', function (req, res) {
}
else
{
if
(
eventObj
.
message
.
text
==
'도움말'
)
{
printhelp
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
)
}
else
if
(
eventObj
.
message
.
text
==
'주가'
)
{
printhelp
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
)
}
else
if
(
eventObj
.
message
.
text
==
'비중 추천'
)
{
printhelp
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
)
}
else
if
(
eventObj
.
message
.
text
==
'백테스트'
)
if
(
eventObj
.
message
.
text
==
'도움말'
||
'주가'
||
'비중 추천'
||
'백테스트'
)
{
printhelp
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
)
}
...
...
@@ -68,7 +56,6 @@ app.post('/hook', function (req, res) {
}
res
.
sendStatus
(
200
);
});
...
...
Please
register
or
login
to post a comment