Commit 72843846 authored by hujiebin's avatar hujiebin

fix:防止漏打

parent f993de2f
......@@ -4,6 +4,7 @@ import (
"fmt"
"github.com/hilo-common/model"
"github.com/hilo-common/mysql"
"time"
)
func main() {
......@@ -43,4 +44,5 @@ func main() {
sql := fmt.Sprintf("UPDATE group_info SET code = '%s' WHERE im_group_id = '%s' AND code = '%s' limit 1", update.NewCode, update.GroupId, update.OldCode)
fmt.Println(sql)
}
time.Sleep(time.Second)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment