1234567891011121314151617 |
- package services
- import (
- "fmt"
- "hongze/hongze_api/utils"
- )
- // CheckEncryption 校验需要是否加密
- func CheckEncryption(urlPath string) (ok bool) {
- fmt.Println(urlPath)
- if urlPath != `/api/report/share/detail` {
- if utils.RunMode == "release" {
- ok = true
- }
- }
- return
- }
|