Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이종규
/
chatbot_project
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
JKL
2021-12-02 15:21:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
869d6ca2f9c669274dd4ef8fbd2ff5f61e26a488
869d6ca2
1 parent
9ed8c05b
Update_meal_planner
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
app.js
app.js
View file @
869d6ca
...
...
@@ -32,6 +32,23 @@ app.post('/message', (req, res) => {
}]
}
}
}
else
if
(
question
==
"국제캠퍼스"
)
{
data
=
{
'version'
:
'2.0'
,
'template'
:
{
'outputs'
:
[{
'simpleImage'
:
{
'imageUrl'
:
"https://coop.khu.ac.kr/wp-content/uploads/2021/11/20211129-1301x2048.png"
,
'altText'
:
"국제캠퍼스 식단입니다."
}
}],
'quickReplies'
:
[{
'label'
:
goMain
,
'action'
:
'message'
,
'messageText'
:
goMain
}]
}
}
}
res
.
json
(
data
);
});
...
...
Please
register
or
login
to post a comment