首页菜单119版本IOS不显示发票以及线上店铺
This commit is contained in:
@@ -21,4 +21,12 @@ public class HttpUtils {
|
||||
*/
|
||||
return userAgent.contains("iOS");
|
||||
}
|
||||
|
||||
public static boolean phoneType(HttpServletRequest request){
|
||||
String userAgent = request.getHeader("type");
|
||||
if ("1".equals(userAgent)){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user