application-local.properties文件中配置
protect.path.patterns=/miniProgram/account/info,/miniProgram/goods/**,/miniProgram/customer/**,/groupon/**,/minip/homePage/updateAnimatedShowedById,/minip/homePage/updateMemberBirthdayById,/miniProgram/trade/**,/miniProgram/pay/**,/minip/giftbag/**,/miniProgram/refreshToken/**,/notification/**
exception.path.patterns=/miniProgram/wxAuthorizeLogin,/miniProgram/bindMobile,/groupon/statics,/groupon/vipCardInfo,/groupon/latestGrouponInfo,/groupon/grouponInfo
JAVA配置类中取出这个值
@Value("#{'${protect.path.patterns}'.split(',')}")
private List<String> protectedPathPatterns;
@Value("#{'${exception.path.patterns}'.split(',')}")
private List<String> exceptionalPathPatterns;