Commit 8b2a29c3 by zhanghj

V1.5.0--去掉技工登录状态的限制

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24591 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 8f9f193f
...@@ -879,9 +879,9 @@ public class UserController extends BaseController { ...@@ -879,9 +879,9 @@ public class UserController extends BaseController {
} }
} else { } else {
/* /*
*技工端需要判断用户是否审核通过,通过才能登录 *技工端需要判断用户是否审核通过,通过才能登录 V1.5.0--任何状态都可以登录
*/ */
if (Constants.USER_TYPE_MECHANIC == userType) { /*if (Constants.USER_TYPE_MECHANIC == userType) {
SysMechanic mechanic = sysUserService.getMechanicByUserId(id); SysMechanic mechanic = sysUserService.getMechanicByUserId(id);
if (mechanic != null) { if (mechanic != null) {
String mechanicStatus = mechanic.getMechanicStatus(); String mechanicStatus = mechanic.getMechanicStatus();
...@@ -891,7 +891,7 @@ public class UserController extends BaseController { ...@@ -891,7 +891,7 @@ public class UserController extends BaseController {
ResultCodeEnum.USER_LOGIN_NO_AUTH.getMsg()); ResultCodeEnum.USER_LOGIN_NO_AUTH.getMsg());
} }
} }
} }*/
} }
/* /*
......
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<title></title>
</head>
<body>
</body>
<script type="text/javascript">
var publicCode = window.location.href.split('=')[1];
wx.miniProgram.redirectTo({url: '/pages/orderDetail/orderDetail?code=' + publicCode });
</script>
</html>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!