Showing
1 changed file
with
17 additions
and
0 deletions
... | @@ -32,6 +32,23 @@ app.post('/message', (req, res) => { | ... | @@ -32,6 +32,23 @@ app.post('/message', (req, res) => { |
32 | }] | 32 | }] |
33 | } | 33 | } |
34 | } | 34 | } |
35 | + }else if (question == "국제캠퍼스") { | ||
36 | + data = { | ||
37 | + 'version': '2.0', | ||
38 | + 'template': { | ||
39 | + 'outputs': [{ | ||
40 | + 'simpleImage': { | ||
41 | + 'imageUrl': "https://coop.khu.ac.kr/wp-content/uploads/2021/11/20211129-1301x2048.png", | ||
42 | + 'altText' : "국제캠퍼스 식단입니다." | ||
43 | + } | ||
44 | + }], | ||
45 | + 'quickReplies': [{ | ||
46 | + 'label': goMain, | ||
47 | + 'action': 'message', | ||
48 | + 'messageText': goMain | ||
49 | + }] | ||
50 | + } | ||
51 | + } | ||
35 | } | 52 | } |
36 | res.json(data); | 53 | res.json(data); |
37 | }); | 54 | }); | ... | ... |
-
Please register or login to post a comment