Merge branch 'zct-v2-dengluyang' of https://code.hoteas.com/golang/hotime into zhoupengwei
This commit is contained in:
+8
-2
@@ -2,11 +2,14 @@ package main
|
||||
|
||||
import (
|
||||
. "code.hoteas.com/golang/hotime"
|
||||
"code.hoteas.com/golang/hotime/common"
|
||||
"code.hoteas.com/golang/hotime/dri/aliyun"
|
||||
"code.hoteas.com/golang/hotime/dri/ddsms"
|
||||
"code.hoteas.com/golang/hotime/dri/wechat"
|
||||
"code.hoteas.com/golang/hotime/example/app"
|
||||
"code.hoteas.com/golang/hotime/example/provider"
|
||||
"net/url"
|
||||
|
||||
//. "code.hoteas.com/golang/hotime/common"
|
||||
"fmt"
|
||||
"time"
|
||||
@@ -37,8 +40,11 @@ func main() {
|
||||
appIns.SetConnectListener(func(that *Context) (isFinished bool) {
|
||||
//发送短信校验
|
||||
that.RespFunc = func() {
|
||||
fmt.Println(that.Req.Form)
|
||||
fmt.Println(that.RespData)
|
||||
go func(Form url.Values, RespData common.Map) {
|
||||
fmt.Println(Form)
|
||||
fmt.Println(RespData)
|
||||
}(that.Req.Form, that.RespData)
|
||||
|
||||
}
|
||||
|
||||
return isFinished
|
||||
|
||||
Reference in New Issue
Block a user