Initial commit

This commit is contained in:
2026-05-20 16:13:58 +08:00
commit ceffbe382e
500 changed files with 157469 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package main
import (
"stat/common/log"
"stat/tool/sqSync/model"
"stat/tool/sqSync/service"
)
func initMongoDB() error {
if err := model.InitMongoDB(); err != nil {
log.Error("InitMongoDB err", log.E(err))
return err
}
return nil
}
func main() {
initMongoDB()
// _ = service.SyncDistrictInfo()
_ = service.SyncUserInfo()
// _ = service.SyncAdsInfo()
}