Commit 819f410b authored by wzp's avatar wzp

修改展板管理

parent 5ffcebd0
......@@ -68,7 +68,7 @@ public class TInteractionController extends BaseController {
boolean result = false;
try {
Map<String, Object> resultMap = new LinkedHashMap<String, Object>();
if (StringUtils.isNotBlank(tInteraction.getName())||StringUtils.isNotBlank(tInteraction.getPassword())) {
if (StringUtils.isBlank(tInteraction.getName())||StringUtils.isBlank(tInteraction.getPassword())) {
resultMap.put("resultCode", "400");
resultMap.put("message", "请输入用户名和密码");
return resultMap;
......@@ -79,7 +79,7 @@ public class TInteractionController extends BaseController {
resultMap.put("message", "用户名错误");
return resultMap;
}
if ("2".equals(user.getType())) {
if (!"2".equals(user.getType())) {
resultMap.put("resultCode", "500");
resultMap.put("message", "用户不是单位管理员");
return resultMap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment