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-03 01:21:24 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca4a88fe916140d685d84cd1579cfb8c73fe41b2
ca4a88fe
1 parent
b5c73357
Update_Club_Information
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
app.js
app.js
View file @
ca4a88f
...
...
@@ -65,6 +65,50 @@ app.post('/message', (req, res) => {
}
}
//동아리 정보 보기
if
(
question
==
"바운스"
||
question
==
"bounce"
){
data
=
{
"version"
:
"2.0"
,
"template"
:
{
"outputs"
:
[
{
"listCard"
:
{
"header"
:
{
"title"
:
"BOUNCE"
},
"items"
:
[
{
"title"
:
"Instagram"
,
"description"
:
"인스타그램으로 이동"
,
"imageUrl"
:
"https://cdn-icons.flaticon.com/png/128/3955/premium/3955024.png?token=exp=1638459829~hmac=5fedfb0e259d3541fa15144c8329704c"
,
"link"
:
{
"web"
:
"https://www.instagram.com/official_bnc/"
}
},
{
"title"
:
"Facebook"
,
"description"
:
"페이스북으로 이동"
,
"imageUrl"
:
"https://cdn-icons-png.flaticon.com/128/145/145802.png"
,
"link"
:
{
"web"
:
"https://m.facebook.com/khubounce"
}
},
{
"title"
:
"Youtube"
,
"description"
:
"유튜브로 이동"
,
"imageUrl"
:
"https://cdn-icons-png.flaticon.com/128/187/187209.png"
,
"link"
:
{
"web"
:
"https://m.youtube.com/channel/UCdqjjUiX3nTsr0neeC1ovvw"
}
}
]
}
}
]
}
}
}
//학식
if
(
question
==
"서울캠퍼스"
)
{
data
=
{
...
...
Please
register
or
login
to post a comment