은승우

add result

...@@ -108,7 +108,7 @@ function handleEvent(event) { ...@@ -108,7 +108,7 @@ function handleEvent(event) {
108 else if(0 < event.message.text.substr(0,2)*1 && event.message.text.substr(0,2)*1 < 27){ 108 else if(0 < event.message.text.substr(0,2)*1 && event.message.text.substr(0,2)*1 < 27){
109 109
110 var selectnum = (event.message.text.substr(0,2)*1); 110 var selectnum = (event.message.text.substr(0,2)*1);
111 - 111 + var result = { type: 'text', text:''};
112 if(selectnum >=0 || selectnum <=27){ 112 if(selectnum >=0 || selectnum <=27){
113 result.text = '목록에 존재하지 않는 콘서트입니다.'; 113 result.text = '목록에 존재하지 않는 콘서트입니다.';
114 client.replyMessage(event.replyToken, result).then(resolve).catch(reject); 114 client.replyMessage(event.replyToken, result).then(resolve).catch(reject);
......