|
@@ -22,16 +22,6 @@ var (
|
|
}
|
|
}
|
|
)
|
|
)
|
|
|
|
|
|
-// var baseConnection *BurgeonConnection
|
|
|
|
-// var ilog *logs.BeeLogger
|
|
|
|
-
|
|
|
|
-// func init() {
|
|
|
|
-// ilog = logs.NewLogger(1000) // 创建一个日志记录器,参数为缓冲区的大小
|
|
|
|
-// ilog.SetLogger(logs.AdapterFile, `{"filename":"log/logs.log"}`)
|
|
|
|
-// ilog.SetLevel(logs.LevelDebug) // 设置日志写入缓冲区的等级
|
|
|
|
-// ilog.EnableFuncCallDepth(true) // 输出log时能显示输出文件名和行号(非必须)
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
type Number interface {
|
|
type Number interface {
|
|
int64 | int32 | int | string
|
|
int64 | int32 | int | string
|
|
}
|
|
}
|
|
@@ -87,9 +77,7 @@ func main() {
|
|
for index, v := range rs {
|
|
for index, v := range rs {
|
|
UpdateVipStatus(v.Vip, v.Saler, v.Id, v.BillDate)
|
|
UpdateVipStatus(v.Vip, v.Saler, v.Id, v.BillDate)
|
|
fmt.Println(index)
|
|
fmt.Println(index)
|
|
- // time.Sleep(time.Millisecond * 100)
|
|
|
|
}
|
|
}
|
|
- // UpdateVipOnlyGuideNull(6309374)
|
|
|
|
}
|
|
}
|
|
|
|
|
|
func initDatabase() {
|
|
func initDatabase() {
|