최유정

added output message

Showing 1 changed file with 11 additions and 1 deletions
...@@ -59,12 +59,22 @@ function sendLocation(replyToken, latitude, longitude, locationAdd, locationName ...@@ -59,12 +59,22 @@ function sendLocation(replyToken, latitude, longitude, locationAdd, locationName
59 "replyToken": replyToken, 59 "replyToken": replyToken,
60 "messages": [ 60 "messages": [
61 { 61 {
62 + "type":"text",
63 + "text":"선택하신 내용을 바탕으로 가실 만한 곳을 추천해드릴게요!"
64 + },
65 +
66 + {
62 "type": "location", 67 "type": "location",
63 - "title": location_name, 68 + "title": locationName,
64 "address": locationAdd, 69 "address": locationAdd,
65 "latitude": latitude, 70 "latitude": latitude,
66 "longitude": longitude 71 "longitude": longitude
72 + },
73 + {
74 + "type":"text",
75 + "text":"오늘은 "+locationName+" 어떠신가요?"
67 } 76 }
77 +
68 ] 78 ]
69 } 79 }
70 }, (error, response, body) => { 80 }, (error, response, body) => {
......