main.go 260B

1234567891011121314151617181920212223
  1. package main
  2. import (
  3. "KYA/jobcron"
  4. _ "KYA/routers"
  5. "KYA/service"
  6. "github.com/astaxie/beego"
  7. )
  8. func init() {
  9. service.ConnectDB()
  10. }
  11. func main() {
  12. go func() {
  13. }()
  14. go jobcron.RequestQNToken()
  15. jobcron.BeginRerequestTwoQNTokenCronJob()
  16. beego.Run()
  17. }