env_test.go 368 B

12345678910111213141516171819202122
  1. package main
  2. import (
  3. "log"
  4. "testing"
  5. )
  6. func TestGetTop(t *testing.T) {
  7. InitConfig()
  8. InitMgo()
  9. readXlsx()
  10. name := "陕西中基项目管理有限公司"
  11. //name := "南京厚建软件有限责任公司"
  12. //res := getTop(name, true)
  13. //log.Println(res)
  14. //
  15. //res2 := getMarketType(name)
  16. //log.Println(res2)
  17. res3 := getCompanyType(name)
  18. log.Println(res3)
  19. }