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 {