박하늘

app.js:if state minimize

......@@ -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);
});
......