Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대욱
/
trans
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
김대욱
2020-11-29 22:45:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a9b021139bc624aa32f3e96888b0ef76e3969853
a9b02113
1 parent
1f08f45b
제발16
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
app.js
app.js
View file @
a9b0211
...
...
@@ -48,25 +48,12 @@ app.post('/hook', function (req, res) {
var
cmd
=
eventObj
.
message
.
text
;
if
(
cmd
==
"영어"
){
var
eventObj
=
req
.
body
.
events
[
0
];
var
source
=
eventObj
.
source
;
var
message
=
eventObj
.
message
;
transen
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
);
}
else
if
(
cmd
==
"프랑스어"
){
var
eventObj
=
req
.
body
.
events
[
0
];
var
source
=
eventObj
.
source
;
var
message
=
eventObj
.
message
;
transfr
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
);
}
else
if
(
cmd
==
"일본어"
){
var
eventObj
=
req
.
body
.
events
[
0
];
var
source
=
eventObj
.
source
;
var
message
=
eventObj
.
message
;
transja
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
);
}
...
...
Please
register
or
login
to post a comment