Browse Source

申述新管理员手机号问题

wangmh 7 years ago
parent
commit
904035ecbe

+ 1 - 1
sso-server/src/main/java/com/uas/sso/service/impl/AppealServiceImpl.java

@@ -68,7 +68,7 @@ public class AppealServiceImpl implements AppealService {
         ModelMap data = new ModelMap(userspace);
         data.put("newAdminName", newAdmin == null ? appeal.getContactName() : newAdmin.getVipName());
         data.put("newAdminMobile", newAdmin == null ? appeal.getMobile() : newAdmin.getMobile());
-        data.put("newAdminEmail", newAdmin == null ? appeal.getContactTel() : newAdmin.getEmail());
+        data.put("newAdminEmail", newAdmin == null ? null : newAdmin.getEmail());
         appeal.setSubmitInfo(JSON.toJSONString(data));
         appeal.setStatus((short) Status.TO_BE_CERTIFIED.getCode());
         appeal.setType(Appeal.Type.CHANGE_ADMIN.getDesc());