物联网平台 +Web 组态
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
855 B

2 years ago
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page import="com.lp.util.CommonUtil"%>
<%@ page import="com.lp.authority.WechatAuthorityIntercept"%>
<!DOCTYPE HTML>
<html>
<head>
<title>测试</title>
<%@ include file="/WEB-INF/oss/base/common/variable.jsp"%>
<%@ include file="/WEB-INF/oss/base/common/resource_lib.jsp"%>
<%@ include file="/WEB-INF/oss/base/common/variable_js.jsp"%>
</head>
<body>
<% if( !CommonUtil.checkReqUtil.checkAgentIsMobile(request) ){ %>
<jsp:forward page="/WEB-INF/oss/iot/login.jsp"></jsp:forward>
<% }else{ %>
<%if( WechatAuthorityIntercept.isWeixin(request) ) { %>
<%response.sendRedirect("/service/wiot/login"); %>
<% }else { %>
<jsp:forward page="/WEB-INF/wechat/iot/login.jsp"></jsp:forward>
<% } %>
<% } %>
</body>
</html>