add log
This commit is contained in:
parent
939c08fe04
commit
6d7c9e92d6
@ -5,6 +5,7 @@ import (
|
|||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
||||||
"git.trj.tw/golang/mtfosbot/module/config"
|
"git.trj.tw/golang/mtfosbot/module/config"
|
||||||
@ -71,6 +72,8 @@ func GetLineMessage(c *context.Context) {
|
|||||||
c.DataFormat("body type error")
|
c.DataFormat("body type error")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("Line Hook ::: ", string(raw))
|
||||||
|
|
||||||
events := struct {
|
events := struct {
|
||||||
Events []*lineobj.EventObject `json:"events"`
|
Events []*lineobj.EventObject `json:"events"`
|
||||||
}{}
|
}{}
|
||||||
|
Loading…
Reference in New Issue
Block a user