Commit 159549da by manxiaoqiang

reged

parent 66a27b62
...@@ -40,6 +40,8 @@ public class IONotice { ...@@ -40,6 +40,8 @@ public class IONotice {
private Boolean release; private Boolean release;
private boolean isRead;
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
public Long getId() { public Long getId() {
...@@ -220,4 +222,13 @@ public class IONotice { ...@@ -220,4 +222,13 @@ public class IONotice {
public void setRelease(Boolean release) { public void setRelease(Boolean release) {
this.release = release; this.release = release;
} }
@Transient
public boolean getIsRead() {
return isRead;
}
public void setIsRead(boolean isRead) {
this.isRead = isRead;
}
} }
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
@Transactional @Transactional
public interface NoticeRepository extends JpaRepository<IONotice, Long> { public interface NoticeRepository extends JpaRepository<IONotice, Long> {
@Query(value = "select * from notice n where n.isdeploy is true and (io_account = ?1 or io_account = -1) order by id desc", nativeQuery = true) @Query(value = "select * from ionotice n where n.isdeploy is true and (io_account = ?1 or io_account = -1) order by id desc", nativeQuery = true)
List<IONotice> listRecentDeployNotice(Long account); List<IONotice> listRecentDeployNotice(Long account);
......
package com.reyun.service; package com.reyun.service;
import com.reyun.model.IONotice;
import com.reyun.model.Notice; import com.reyun.model.Notice;
import com.reyun.model.UserNoticeLog; import com.reyun.model.UserNoticeLog;
...@@ -15,7 +16,7 @@ public interface NoticeService { ...@@ -15,7 +16,7 @@ public interface NoticeService {
* @param accountId * @param accountId
* @return * @return
*/ */
List<Notice> listRecentDeployNotice(Long accountId); List<IONotice> listRecentDeployNotice(Long accountId);
/** /**
* 存储用户已读公告数据 * 存储用户已读公告数据
......
...@@ -2,6 +2,7 @@ package com.reyun.service.impl; ...@@ -2,6 +2,7 @@ package com.reyun.service.impl;
import com.google.common.base.Function; import com.google.common.base.Function;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.reyun.model.IONotice;
import com.reyun.model.Notice; import com.reyun.model.Notice;
import com.reyun.model.UserNoticeLog; import com.reyun.model.UserNoticeLog;
import com.reyun.repository.NoticeRepository; import com.reyun.repository.NoticeRepository;
...@@ -27,15 +28,15 @@ public class NoticeServiceImpl implements NoticeService { ...@@ -27,15 +28,15 @@ public class NoticeServiceImpl implements NoticeService {
private UserNoticeLogRepository userNoticeLogRepository; private UserNoticeLogRepository userNoticeLogRepository;
@Override @Override
public List<Notice> listRecentDeployNotice(Long accountId) { public List<IONotice> listRecentDeployNotice(Long accountId) {
List<Notice> recentDeployNoticeList = noticeRepository.listRecentDeployNotice(accountId); List<IONotice> recentDeployNoticeList = noticeRepository.listRecentDeployNotice(accountId);
if (!CollectionUtils.isEmpty(recentDeployNoticeList)) { if (!CollectionUtils.isEmpty(recentDeployNoticeList)) {
List<Long> noticeIdList = Lists.transform(recentDeployNoticeList, new Function<Notice, Long>() { List<Long> noticeIdList = Lists.transform(recentDeployNoticeList, new Function<IONotice, Long>() {
@Override @Override
public Long apply(Notice notice) { public Long apply(IONotice notice) {
return notice.getId(); return notice.getId();
} }
}); });
...@@ -43,7 +44,7 @@ public class NoticeServiceImpl implements NoticeService { ...@@ -43,7 +44,7 @@ public class NoticeServiceImpl implements NoticeService {
for (UserNoticeLog userNoticeLog : userNoticeLogList) { for (UserNoticeLog userNoticeLog : userNoticeLogList) {
for (Notice notice : recentDeployNoticeList) { for (IONotice notice : recentDeployNoticeList) {
if (notice.getId().equals(userNoticeLog.getNoticeid())) { if (notice.getId().equals(userNoticeLog.getNoticeid())) {
notice.setIsRead(true); notice.setIsRead(true);
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.11499847006052732"> <link rel="stylesheet" href="styles/login.css?r=0.17377914488315582">
<script src="scripts/change.js?r=0.5983042535372078"></script> <script src="scripts/change.js?r=0.038060850696638227"></script>
<script src="scripts/regcom1.js?r=0.30919134919531643"></script> <script src="scripts/regcom1.js?r=0.22607403295114636"></script>
<script src="scripts/regui.js?r=0.5395845742896199"></script> <script src="scripts/regui.js?r=0.01922464300878346"></script>
</head> </head>
<body ng-app="app" ng-controller="acvitationCtrl"> <body ng-app="app" ng-controller="acvitationCtrl">
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<script src="scripts/change.js?r=0.3096894088666886"></script> <script src="scripts/change.js?r=0.1720105002168566"></script>
<script src="scripts/demo.js?r=0.49110986455343664"></script> <script src="scripts/demo.js?r=0.14105754997581244"></script>
<script type="text/javascript"> <script type="text/javascript">
$.get("/api/demo",function(data) { $.get("/api/demo",function(data) {
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.7820607058238238"> <link rel="stylesheet" href="styles/login.css?r=0.5653473353013396">
<script src="scripts/change.js?r=0.4579346068203449"></script> <script src="scripts/change.js?r=0.03278528619557619"></script>
<script src="scripts/regcom2.js?r=0.053647717693820596"></script> <script src="scripts/regcom2.js?r=0.8621854139491916"></script>
<script src="scripts/failure.js?r=0.9843989037908614"></script> <script src="scripts/failure.js?r=0.29478811798617244"></script>
</head> </head>
<body ng-app="app" ng-controller="failureCtrl"> <body ng-app="app" ng-controller="failureCtrl">
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.16757301287725568"> <link rel="stylesheet" href="styles/login.css?r=0.6822654716670513">
<script src="scripts/change.js?r=0.8997952970676124"></script> <script src="scripts/change.js?r=0.657221358967945"></script>
<script src="scripts/regcom3.js?r=0.05138346133753657"></script> <script src="scripts/regcom3.js?r=0.84271992999129"></script>
<script src="scripts/forget.js?r=0.5629009127151221"></script> <script src="scripts/forget.js?r=0.2713923347182572"></script>
</head> </head>
<body ng-app="app" ng-controller="forgetCtrl"> <body ng-app="app" ng-controller="forgetCtrl">
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/home.css?r=0.4897955828346312"> <link rel="stylesheet" href="styles/home.css?r=0.7975225732661784">
<script src="scripts/change.js?r=0.3161861866246909"></script> <script src="scripts/change.js?r=0.3572810667101294"></script>
<script src="scripts/home.js?r=0.41972410725429654"></script> <script src="scripts/home.js?r=0.005558168049901724"></script>
<script src="scripts/homectrl.js?r=0.3761741151101887"></script> <script src="scripts/homectrl.js?r=0.6156439066398889"></script>
<script> <script>
var _hmt = _hmt || []; var _hmt = _hmt || [];
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/index.css?r=0.1538209819700569"> <link rel="stylesheet" href="styles/index.css?r=0.5801727620419115">
<script src="scripts/change.js?r=0.7190487270709127"></script> <script src="scripts/change.js?r=0.7636903643142432"></script>
<script src="scripts/com.js?r=0.1410635078791529"></script> <script src="scripts/com.js?r=0.22119453037157655"></script>
<script src="scripts/app.js?r=0.5087753545958549"></script> <script src="scripts/app.js?r=0.4161588044371456"></script>
<script src="scripts/ui.js?r=0.08424989180639386"></script> <script src="scripts/ui.js?r=0.7564062932506204"></script>
</head> </head>
<body ng-app="app" ng-controller="indexCtrl" ng-class="{'noreport':backReport}"> <body ng-app="app" ng-controller="indexCtrl" ng-class="{'noreport':backReport}">
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.9707226229365915"> <link rel="stylesheet" href="styles/login.css?r=0.24616998224519193">
<script src="scripts/change.js?r=0.7923258431255817"></script> <script src="scripts/change.js?r=0.12761787860654294"></script>
<script src="scripts/lgcom4.js?r=0.473345436854288"></script> <script src="scripts/lgcom4.js?r=0.1754848170094192"></script>
<script src="scripts/lgui.js?r=0.5988887476269156"></script> <script src="scripts/lgui.js?r=0.09166066627949476"></script>
<script> <script>
var _hmt = _hmt || []; var _hmt = _hmt || [];
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.6317339739762247"> <link rel="stylesheet" href="styles/login.css?r=0.5256118897814304">
<script src="scripts/change.js?r=0.7653584356885403"></script> <script src="scripts/change.js?r=0.19494965951889753"></script>
<script src="scripts/regcom5.js?r=0.6032860425766557"></script> <script src="scripts/regcom5.js?r=0.7030478441156447"></script>
<script src="scripts/olduser.js?r=0.24770011520013213"></script> <script src="scripts/olduser.js?r=0.805714696412906"></script>
</head> </head>
<body ng-app="app" ng-controller="olduserCtrl"> <body ng-app="app" ng-controller="olduserCtrl">
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.7661028518341482"> <link rel="stylesheet" href="styles/login.css?r=0.16613134928047657">
<script src="scripts/change.js?r=0.2717249090783298"></script> <script src="scripts/change.js?r=0.36895587225444615"></script>
<script src="scripts/regcom7.js?r=0.21323158033192158"></script> <script src="scripts/regcom7.js?r=0.7115389341488481"></script>
<script src="scripts/resetpwd.js?r=0.5238363628741354"></script> <script src="scripts/resetpwd.js?r=0.39234541240148246"></script>
</head> </head>
<body ng-app="app" ng-controller="resetpwdCtrl"> <body ng-app="app" ng-controller="resetpwdCtrl">
......
...@@ -338,3 +338,5 @@ show:!0,x:5,y:12,textStyle:{align:"left",color:"#000",fontFamily:"Arial",fontSiz ...@@ -338,3 +338,5 @@ show:!0,x:5,y:12,textStyle:{align:"left",color:"#000",fontFamily:"Arial",fontSiz
; ;
/*! jquery.cookie v1.4.1 | MIT */ /*! jquery.cookie v1.4.1 | MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
;
(function(){String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")};var t={chrsz:8,hexcase:0,binl2hex:function(t){var i=this.hexcase?"0123456789ABCDEF":"0123456789abcdef";var e="";for(var s=0;s<t.length*4;s++){e+=i.charAt(t[s>>2]>>s%4*8+4&15)+i.charAt(t[s>>2]>>s%4*8&15)}return e},str2binl:function(t){var i=Array();var e=(1<<this.chrsz)-1;for(var s=0;s<t.length*this.chrsz;s+=this.chrsz)i[s>>5]|=(t.charCodeAt(s/this.chrsz)&e)<<s%32;return i},md5_cmn:function(t,i,e,s,n,r){return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(i,t),this.safe_add(s,r)),n),e)},md5_ff:function(t,i,e,s,n,r,h){return this.md5_cmn(i&e|~i&s,t,i,n,r,h)},md5_gg:function(t,i,e,s,n,r,h){return this.md5_cmn(i&s|e&~s,t,i,n,r,h)},md5_hh:function(t,i,e,s,n,r,h){return this.md5_cmn(i^e^s,t,i,n,r,h)},md5_ii:function(t,i,e,s,n,r,h){return this.md5_cmn(e^(i|~s),t,i,n,r,h)},safe_add:function(t,i){var e=(t&65535)+(i&65535);var s=(t>>16)+(i>>16)+(e>>16);return s<<16|e&65535},bit_rol:function(t,i){return t<<i|t>>>32-i},core_md5:function(t,i){t[i>>5]|=128<<i%32;t[(i+64>>>9<<4)+14]=i;var e=1732584193;var s=-271733879;var n=-1732584194;var r=271733878;for(var h=0;h<t.length;h+=16){var a=e;var d=s;var m=n;var o=r;e=this.md5_ff(e,s,n,r,t[h+0],7,-680876936);r=this.md5_ff(r,e,s,n,t[h+1],12,-389564586);n=this.md5_ff(n,r,e,s,t[h+2],17,606105819);s=this.md5_ff(s,n,r,e,t[h+3],22,-1044525330);e=this.md5_ff(e,s,n,r,t[h+4],7,-176418897);r=this.md5_ff(r,e,s,n,t[h+5],12,1200080426);n=this.md5_ff(n,r,e,s,t[h+6],17,-1473231341);s=this.md5_ff(s,n,r,e,t[h+7],22,-45705983);e=this.md5_ff(e,s,n,r,t[h+8],7,1770035416);r=this.md5_ff(r,e,s,n,t[h+9],12,-1958414417);n=this.md5_ff(n,r,e,s,t[h+10],17,-42063);s=this.md5_ff(s,n,r,e,t[h+11],22,-1990404162);e=this.md5_ff(e,s,n,r,t[h+12],7,1804603682);r=this.md5_ff(r,e,s,n,t[h+13],12,-40341101);n=this.md5_ff(n,r,e,s,t[h+14],17,-1502002290);s=this.md5_ff(s,n,r,e,t[h+15],22,1236535329);e=this.md5_gg(e,s,n,r,t[h+1],5,-165796510);r=this.md5_gg(r,e,s,n,t[h+6],9,-1069501632);n=this.md5_gg(n,r,e,s,t[h+11],14,643717713);s=this.md5_gg(s,n,r,e,t[h+0],20,-373897302);e=this.md5_gg(e,s,n,r,t[h+5],5,-701558691);r=this.md5_gg(r,e,s,n,t[h+10],9,38016083);n=this.md5_gg(n,r,e,s,t[h+15],14,-660478335);s=this.md5_gg(s,n,r,e,t[h+4],20,-405537848);e=this.md5_gg(e,s,n,r,t[h+9],5,568446438);r=this.md5_gg(r,e,s,n,t[h+14],9,-1019803690);n=this.md5_gg(n,r,e,s,t[h+3],14,-187363961);s=this.md5_gg(s,n,r,e,t[h+8],20,1163531501);e=this.md5_gg(e,s,n,r,t[h+13],5,-1444681467);r=this.md5_gg(r,e,s,n,t[h+2],9,-51403784);n=this.md5_gg(n,r,e,s,t[h+7],14,1735328473);s=this.md5_gg(s,n,r,e,t[h+12],20,-1926607734);e=this.md5_hh(e,s,n,r,t[h+5],4,-378558);r=this.md5_hh(r,e,s,n,t[h+8],11,-2022574463);n=this.md5_hh(n,r,e,s,t[h+11],16,1839030562);s=this.md5_hh(s,n,r,e,t[h+14],23,-35309556);e=this.md5_hh(e,s,n,r,t[h+1],4,-1530992060);r=this.md5_hh(r,e,s,n,t[h+4],11,1272893353);n=this.md5_hh(n,r,e,s,t[h+7],16,-155497632);s=this.md5_hh(s,n,r,e,t[h+10],23,-1094730640);e=this.md5_hh(e,s,n,r,t[h+13],4,681279174);r=this.md5_hh(r,e,s,n,t[h+0],11,-358537222);n=this.md5_hh(n,r,e,s,t[h+3],16,-722521979);s=this.md5_hh(s,n,r,e,t[h+6],23,76029189);e=this.md5_hh(e,s,n,r,t[h+9],4,-640364487);r=this.md5_hh(r,e,s,n,t[h+12],11,-421815835);n=this.md5_hh(n,r,e,s,t[h+15],16,530742520);s=this.md5_hh(s,n,r,e,t[h+2],23,-995338651);e=this.md5_ii(e,s,n,r,t[h+0],6,-198630844);r=this.md5_ii(r,e,s,n,t[h+7],10,1126891415);n=this.md5_ii(n,r,e,s,t[h+14],15,-1416354905);s=this.md5_ii(s,n,r,e,t[h+5],21,-57434055);e=this.md5_ii(e,s,n,r,t[h+12],6,1700485571);r=this.md5_ii(r,e,s,n,t[h+3],10,-1894986606);n=this.md5_ii(n,r,e,s,t[h+10],15,-1051523);s=this.md5_ii(s,n,r,e,t[h+1],21,-2054922799);e=this.md5_ii(e,s,n,r,t[h+8],6,1873313359);r=this.md5_ii(r,e,s,n,t[h+15],10,-30611744);n=this.md5_ii(n,r,e,s,t[h+6],15,-1560198380);s=this.md5_ii(s,n,r,e,t[h+13],21,1309151649);e=this.md5_ii(e,s,n,r,t[h+4],6,-145523070);r=this.md5_ii(r,e,s,n,t[h+11],10,-1120210379);n=this.md5_ii(n,r,e,s,t[h+2],15,718787259);s=this.md5_ii(s,n,r,e,t[h+9],21,-343485551);e=this.safe_add(e,a);s=this.safe_add(s,d);n=this.safe_add(n,m);r=this.safe_add(r,o)}return Array(e,s,n,r)},getMD5Str:function(t){return this.binl2hex(this.core_md5(this.str2binl(t),t.length*this.chrsz))}};function i(){this._getInstance=function(){var t;if(window.ActiveXObject){var i=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var e=0;e<i.length;e++){try{t=new ActiveXObject(i[e]);return t}catch(t){}}}else if(window.XMLHttpRequest){t=new XMLHttpRequest;return t}else{return null}};this._ins=this._getInstance();this.sendURL=function(t,i,e){var s=this._ins;s.open("post",t,true);s.onreadystatechange=function(){if(s.readyState==4&&(s.status==200||s.status==304)){if(typeof e=="function"){e(s.response)}}};s.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8");s.send(JSON.stringify(i))};this.quit=function(){this._ins.abort()}}var e={};var s={locationurl:"",preurl:"https://log.reyun.com/receive/tkio/",getSessionId:function(){var i=s.getItem("ryh5_sessionid");if(i&&i!=""){return i}var e=document.cookie,n=e.split(";"),r="";for(var h=0;h<n.length;h++){var a=n[h],d=a.split("=");if(d[0].trim()==="JSESSIONID"){r=d[1];break}}if(r==""){r=t.getMD5Str(navigator.userAgent+String((new Date).getTime()+Math.random()));s.setItem("ryh5_sessionid",r)}else{r=t.getMD5Str(r+String((new Date).getTime()+Math.random()))}return r},getItem:function(t){try{localStorage.setItem("rmdkk",111);localStorage.removeItem("rmdkk");var i=localStorage.getItem(t);return i==null?"":i}catch(s){var i=e[t];return i==undefined?"":i}},setItem:function(t,i){try{localStorage.setItem(t,i)}catch(s){e[t]=i}},getValue:function(i){var e="";switch(i){case"who":e=s.getItem("ryh5_usid");if(e==""){e=this.getSessionId()}break;case"deviceid":e=s.getItem("ryh5_usid");if(e==""){e=this.getSessionId()}else{e=t.getMD5Str(e)}break;default:e=this.getItem(i);break}return e},getCommonParams:function(t){var i={appid:this.getItem("ryh5_appid"),who:this.getValue("who"),context:{_deviceid:this.getValue("deviceid"),_cid:this.getItem("ryh5_cid"),_campaignid:this.getItem("ryh5_campid"),_apptype:"wap",_ua:navigator.userAgent}};if(t&&typeof t==="object"){for(var e in t){i.context[e]=t[e]}}return i},send:function(t,e,s){var n=this.preurl+t;var r=new i;r.sendURL(n,e,s)}};var n=new function(){this.version="v1.1.0";var t=function(){setTimeout(function(){var t=document.location.href;if(s.locationurl==t){return false}var i=s.getCommonParams();s.locationurl=i.context._url=t;i.what="pageview";s.send("event",i)},200)};this.init=function(i){s.setItem("ryh5_appid",i);var e=window.location.href,n=e.substring(e.indexOf("?")+1),r=n.split("&");var h=s.getItem("ryh5_cid"),a=s.getItem("ryh5_campid"),d=s.getItem("ryh5_sessionid");h=h==""?"-1":h;a=a==""?"_default_":a;d=d==""?s.getSessionId():d;for(var m=0;m<r.length;m++){var o=r[m].split("=");if(o[0]=="cid"){h=o[1]}if(o[0]=="campaignid"){a=o[1]}}if(!/^-?\d+$/.test(h)){h=-1}s.setItem("ryh5_cid",h);s.setItem("ryh5_campid",a);s.setItem("ryh5_sessionid",d);t();};this.register=function(t,i){var e=s.getCommonParams(i);e.who=t;s.send("register",e)};this.loggedin=function(i,e){var n=s.getCommonParams(e);n.who=i;s.setItem("ryh5_usid",i);s.send("loggedin",n);t()};this.download=function(t){var i=s.getCommonParams(t);i.what="download";s.send("event",i)};this.order=function(t,i){var e=s.getCommonParams(i);e.what="order";e.context._transactionid=t;s.send("event",e)};this.payment=function(t,i,e,n,r){var h=s.getCommonParams(r);h.context._transactionid=t;h.context._currencyamount=i;h.context._currencytype=e;h.context._paymenttype=n;s.send("payment",h)};this.event=function(t,i){var i=s.getCommonParams(i);i.what=t;s.send("event",i)}};window["TrackingIO"]=n})();
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/login.css?r=0.8155621050391346"> <link rel="stylesheet" href="styles/login.css?r=0.9278655003290623">
<script src="scripts/change.js?r=0.48537470446899533"></script> <script src="scripts/change.js?r=0.08022567885927856"></script>
<script src="scripts/regcom8.js?r=0.015657729003578424"></script> <script src="scripts/regcom8.js?r=0.8265951636712998"></script>
<script src="scripts/success.js?r=0.23272478976286948"></script> <script src="scripts/success.js?r=0.4393018090631813"></script>
</head> </head>
<body ng-app="app" ng-controller="successCtrl"> <body ng-app="app" ng-controller="successCtrl">
......
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