修复短信发送bug

This commit is contained in:
hoteas
2021-10-27 00:27:24 +08:00
parent 6c999990e3
commit fdab298f52
4 changed files with 26 additions and 22 deletions
+1
View File
@@ -16,6 +16,7 @@ import (
func main() {
date, _ := time.Parse("2006-01-02 15:04", time.Now().Format("2006-01-02")+" 14:00")
fmt.Println(date, date.Unix())
//fmt.Println("0123456"[1:7])
appIns := hotime.Init("config/config.json")
//RESTfull接口适配
appIns.SetConnectListener(func(context *hotime.Context) bool {