add log print
This commit is contained in:
parent
d633b66720
commit
101024599c
@ -343,6 +343,7 @@ func lottery(sub, txt string, s *lineobj.SourceObject) (res string) {
|
|||||||
if err != nil || arr == nil {
|
if err != nil || arr == nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
fmt.Println("get number lottery ::::: ", len(arr))
|
||||||
|
|
||||||
// shuffle array
|
// shuffle array
|
||||||
dest := make([]*model.Lottery, len(arr))
|
dest := make([]*model.Lottery, len(arr))
|
||||||
@ -352,6 +353,7 @@ func lottery(sub, txt string, s *lineobj.SourceObject) (res string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
data := dest[0]
|
data := dest[0]
|
||||||
|
fmt.Println("Get Data :::: ", data)
|
||||||
|
|
||||||
conf := config.GetConf()
|
conf := config.GetConf()
|
||||||
u := conf.URL
|
u := conf.URL
|
||||||
|
Loading…
Reference in New Issue
Block a user