Toggle navigation
Toggle navigation
This project
Loading...
Sign in
백승욱
/
movie-reco-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
백승욱
2022-06-08 01:50:21 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
f51eff905bd03ee9ac867bcf27acb60a24aebbe9
f51eff90
2 parents
4ec62bbf
540e801e
Resolve merge conflict
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
main.js
main.js
View file @
f51eff9
...
...
@@ -28,7 +28,11 @@ const user_id = config.USER_ID;
// SHOW MENU
<<<<<<<
HEAD
function
ShowMenu
(
replyToken
)
{
=======
function
ShowMenu
(
replyeToken
)
{
>>>>>>>
540
e801ecd8d88e2733b5a89c69473c69ed530f3
request
.
post
({
url
:
LINE_URL
+
'/reply'
,
headers
:
{
...
...
@@ -48,8 +52,6 @@ function ShowMenu(replyToken) {
});
}
ShowMenu
();
// RECEIVE MESSAGE
app
.
post
(
'/hook'
,
function
(
req
,
res
)
{
...
...
@@ -71,7 +73,11 @@ function Response(replyToken, message) {
MovieInfo
.
MovieInfo
(
replyToken
,
message
);
}
else
if
(
message
==
'0'
||
message
==
'0번'
)
{
<<<<<<<
HEAD
ShowMenu
(
replyToken
);
=======
ShowMenu
(
replyeToken
);
>>>>>>>
540
e801ecd8d88e2733b5a89c69473c69ed530f3
}
else
if
(
message
==
'1'
||
message
==
'1번'
)
{
BoxOffice
.
ShowYesterdayRank
(
replyToken
);
...
...
@@ -94,6 +100,7 @@ function Response(replyToken, message) {
}
else
{
Exception
.
SayIDontKnow
(
replyToken
);
ShowMenu
(
replyeToken
);
}
}
...
...
Please
register
or
login
to post a comment