verify.go 287 B

1234567891011121314151617
  1. package services
  2. import (
  3. "fmt"
  4. "hongze/hongze_api/utils"
  5. )
  6. // CheckEncryption 校验需要是否加密
  7. func CheckEncryption(urlPath string) (ok bool) {
  8. fmt.Println(urlPath)
  9. if urlPath != `/api/report/share/detail` {
  10. if utils.RunMode == "release" {
  11. ok = true
  12. }
  13. }
  14. return
  15. }