Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -109,7 +109,8 @@ function handleEvent(event) { | ... | @@ -109,7 +109,8 @@ function handleEvent(event) { |
109 | 109 | ||
110 | var selectnum = (event.message.text.substr(0,2)*1); | 110 | var selectnum = (event.message.text.substr(0,2)*1); |
111 | var result = { type: 'text', text:''}; | 111 | var result = { type: 'text', text:''}; |
112 | - if(selectnum >=0 || selectnum <=27){ | 112 | + console.log(selectnum); |
113 | + if(selectnum <=0 || selectnum >=27){ | ||
113 | result.text = '목록에 존재하지 않는 콘서트입니다.'; | 114 | result.text = '목록에 존재하지 않는 콘서트입니다.'; |
114 | return ; | 115 | return ; |
115 | } | 116 | } | ... | ... |
-
Please register or login to post a comment