根据经纬度获取位置信息
This commit is contained in:
@@ -45,11 +45,11 @@ public class LoginFilter implements Filter {
|
||||
"cashierService/common/**",//通用接口
|
||||
"cashierService/distirict/**",//首页其它接口
|
||||
"cashierService/login/**",//登录部分接口不校验
|
||||
"cashierService/notify/**",//登录部分接口不校验
|
||||
"cashierService/product/queryShopIdByTableCode",
|
||||
"cashierService/product/queryProduct",
|
||||
"cashierService/product/productInfo",
|
||||
"notify/**"//登录部分接口不校验
|
||||
"cashierService/notify/**",//登录部分接口不校验
|
||||
"notify/**"//回调部分接口不校验
|
||||
);
|
||||
|
||||
@Autowired
|
||||
@@ -80,11 +80,6 @@ public class LoginFilter implements Filter {
|
||||
|
||||
//environment 环境标识 wx app 后续environment不可为空
|
||||
String environment = request.getHeader("environment");
|
||||
// //token校验目前只对app生效
|
||||
// if (StringUtils.isBlank(environment) || !environment.equals("app")) {
|
||||
// chain.doFilter(req, resp);
|
||||
// return;
|
||||
// }
|
||||
|
||||
// 判断用户TOKEN是否存在
|
||||
String token = request.getHeader("token");
|
||||
|
||||
Reference in New Issue
Block a user