Skip to content
Aichaellee edited this page Apr 7, 2018 · 1 revision

1.002_controller:

  • sendMailOnbatch()-> sendMailByParam
  • MAIL_THIS_URL 修改 2.SC0101:
  • 新建一个Device
Map<String,Object> DeviceTokenResult= new HashMap<>();
            DeviceTokenResult.put("email", mUserDao.selectById(result.getUserId()).getMailAddress());
            DeviceTokenResult.put("token", tUserDevice.getTokkenAuthCd())
model.addAttribute("DeviceTokenValid", DeviceTokenResult);
         <c:if test="${!empty DeviceTokenValid}">
          (function(){
              var jsonObj = localStorage.getItem('Device');
              var jsObj = jsonObj ? JSON.parse(jsonObj) : {};
              jsObj['${validatedToken.email.trim()}'] = '${validatedToken.token.trim()}';
              localStorage.setItem('Device', JSON.stringify(jsObj));
          }());
          </c:if>

Clone this wiki locally