liujiandao
2023-10-21 4b2c52b17abef8521f9211b4865e1cad0288b12a
middleware/user.go
@@ -33,8 +33,11 @@
}
var whiteList = map[string]struct{}{ //白名单地址列表
   "/api/code/getCodeList": {},
   "/api/data/getAllData":  {},
   "/api/code/getCodeList":          {},
   "/api/data/getAllData":           {},
   "/api/serviceCollectionPlan/add": {},
   "/api/bankAccount/list":          {},
   "/api/paymentType/list":          {},
}
func CheckAuth(apiPath string, token string) bool {