fix
zhangqian
2023-10-17 b01856980b67a720304f138cb3040c73d01b97c5
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 {