ziwen hace 2 años
padre
commit
7e51a11614
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      services/verify.go

+ 5 - 0
services/verify.go

@@ -13,5 +13,10 @@ func CheckEncryption(urlPath string) (ok bool) {
 			ok = true
 		}
 	}
+	if urlPath != `/api/english_report/share/detail` {
+		if utils.RunMode == "release" {
+			ok = true
+		}
+	}
 	return
 }