PageSourceSearch

https://www.songjiang.gov.cn/shsj_fangsong/Template/js/webBuilderCommon.js

js songjiang.gov.cn collected 2026-10-02 14:31:29 UTC 57,688 bytes, 1,541 lines download raw bytes

1var siteInfo = {"siteGuid":"c70e67a7-72c0-4059-b501-6d60e573d6e0","projectName":"/shsj-application-front","webVersion":"5.0","vname":"/shsj_fangsong","tempVersion":"20210427155728"}
2if (!window.webbuilder) {
3    window.webbuilder = {};
4}
5function checkJson(custom) {
6    if (custom != "") {
7        if (typeof custom == 'string') {
8            backData = $.parseJSON(custom);
9        } else {
10            backData = custom;
11        }
12    }
13    else
14        backData = $.parseJSON("{}");
15    return backData;
16}
17
18jQuery.extend(webbuilder, (function (win, $) {
19    return {
20        // 更新访问量并返回当前访问量
21    	addPageView: function (viewGuid, callback) {
22            var str = {"siteGuid": siteInfo.siteGuid,"viewGuid": viewGuid};
23			Util.ajax({
24				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/addPageView",
25				data: str,
26				success: function(msg) {
27					callback(checkJson(msg.custom));
28				}
29			}, true);
30        },
31        
32        // 更新referrer和useragent
33        addReferrer: function (referrer,host,useragent, callback) {
34            var str = {"siteGuid": siteInfo.siteGuid,"referrer": referrer,"host": host,"useragent":useragent};
35			Util.ajax({
36				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/addReferrer",
37				data: str,
38				success: function(msg) {
39					callback(checkJson(msg.custom));
40				}
41			}, true);
42        },
43
44        //更新访问用户
45        addSiteVisiter: function (userGuid, callback) {
46            var str = {"siteGuid": siteInfo.siteGuid,"userGuid": userGuid};
47			Util.ajax({
48				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/addSiteVisiter",
49				data: str,
50				success: function(msg) {
51					callback(checkJson(msg.custom));
52				}
53			}, true);
54        },
55
56        // 获取总访问量
57        getSiteViewCount: function (callback) {
58            var str = {"siteGuid": siteInfo.siteGuid};
59			Util.ajax({
60				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getSiteViewCount",
61				data: str,
62				success: function(msg) {
63					callback(checkJson(msg.custom));
64				}
65			}, true);
66        },
67
68        // 根据访问量排序获取信息
69        getCateInfoOrderByViewCount: function (categoryNum, length,systemName, callback) {
70            var str = {"siteGuid": siteInfo.siteGuid,"categoryNum": categoryNum,"length": length,"systemName": systemName};
71			Util.ajax({
72				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getCateInfoOrderByViewCount",
73				data: str,
74				success: function(msg) {
75					callback(checkJson(msg.custom.hotInfoList));
76				}
77			}, true);
78        },
79
80        // 获取验证码
81        getVerificationCode: function (width, height, codeNum, interferenceLine, codeGuid, callback) {
82        	var str = {"width": width,"height": height,"codeNum": codeNum,"interferenceLine": interferenceLine,"codeGuid": codeGuid};
83			Util.ajax({
84				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getVerificationCode",
85				data: str,
86				success: function(msg) {
87					callback(checkJson(msg.custom));
88				}
89			}, true);
90        },
91        
92        // 获取sm2加密码
93        getSecuritysm2EncodePubk: function (callback) {
94        	var str = {};
95			Util.ajax({
96				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getSecuritysm2EncodePubk",
97				data: str,
98				success: function(msg) {
99					callback(checkJson(msg.custom));
100				}
101			}, true);
102        },
103
104        // 用户登陆
105        registeredUserLogin: function (userAccount, userPwd, verificationCode, verificationGuid, rememberMeMark, beforePageUrl, callback) {
106        	var str = {"userAccount": userAccount,"userPwd": userPwd,"verificationCode": verificationCode,"verificationGuid": verificationGuid,"rememberMeMark": rememberMeMark,"beforePageUrl": beforePageUrl};
107        	Util.ajax({
108				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/registeredUserLogin",
109				data: str,
110				success: function(msg) {
111					callback(checkJson(msg.custom));
112				}
113			}, true);
114        },
115
116        // 用户登出
117        registeredUserLogout: function (callback) {
118        	Util.ajax({
119                url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/registeredUserLogout",
120                type: "post",
121                dataType: "json",
122                cache: false,
123                success: function(msg) {
124					callback(checkJson(msg.custom));
125				}
126			}, true);
127        },
128        
129     // 论坛登出
130        BBSloginout: function (callback) {
131        	Util.ajax({
132                    url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/BBSloginout",
133                    type: "post",
134                    dataType: "json",
135                    cache: false,
136                    success:function (msg) {
137                    callback(checkJson(msg.custom));
138                }
139        	}, true);
140        },
141
142
143        // 注册用户
144        registerUser: function (userAccount, userPwd, userType, mobile, userEmail,code, callback) {
145        	var str = {"userAccount": userAccount,"userPwd": userPwd,"userType": userType,"mobile": mobile,"userEmail": userEmail,"code": code};
146			Util.ajax({
147				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/registerUser",
148				data: str,
149				success: function(msg) {
150					callback(checkJson(msg.custom));
151				}
152			}, true);
153        },
154
155        // 获取注册用户类型
156        getRegisteredUserTypeList: function (callback) {
157        	Util.ajax({
158				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getRegisteredUserTypeList",
159				success: function(msg) {
160					callback(checkJson(msg.custom));
161				}
162			}, true);
163        },
164
165
166        // 用户信息收藏
167        collectInsert: function (infoTitle, infoUrl, infoID, callback) {
168            Util.ajax({
169				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/collectInsert",
170				data: {"siteGuid": siteInfo.siteGuid,"infoTitle": infoTitle,"infoUrl": infoUrl,"infoID": infoID},
171				success: function(msg) {
172					callback(checkJson(msg.custom));
173				}
174			}, false);
175        },
176
177        // 获取用户收藏信息
178        getUserCollect: function (callback) {
179            Util.ajax({
180				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getUserCollect",
181				success: function(msg) {
182					callback(checkJson(msg.custom.collectList));
183				}
184			}, false);
185        },
186
187        // 删除收藏信息
188        deleteCollect: function (collectGuid, callback) {
189            Util.ajax({
190				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/deleteCollect",
191				data: {"collectGuid": collectGuid},
192				success: function(msg) {
193					callback(checkJson(msg.custom));
194				}
195			}, false);
196        },
197
198        // 提交评论
199        submitInfoFeedBack: function (nickName, anonymous, pjfs, plContent, imgGuid, yzm, loginID, infoId, categoryNum, callback) {
200        	var str = {"siteGuid": siteInfo.siteGuid,"nickName": nickName,"anonymous": anonymous,"pjfs": pjfs,"plContent": plContent,"imgGuid": imgGuid,"yzm": yzm,"infoId": infoId,"categoryNum": categoryNum};
201			Util.ajax({
202				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/submitInfoFeedBack",
203				data: str,
204				success: function(msg) {
205					callback(checkJson(msg.custom));
206				}
207			}, true);
208        },
209
210        // 获取评论列表
211        getInfofeedback: function (infoid, categorynum, pageIndex, pageSize, callback) {
212        	var str = {"siteGuid": siteInfo.siteGuid,"infoid": infoid,"categorynum": categorynum,"pageIndex": pageIndex,"pageSize": pageSize};
213			Util.ajax({
214				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getInfofeedback",
215				data: str,
216				success: function(msg) {
217					callback(checkJson(msg.custom));
218				}
219			}, true);
220        },
221
222        // 获取评论数
223        getInfofeedbackCount: function (infoid, categorynum, callback) {
224        	var str = {"siteGuid": siteInfo.siteGuid,"infoid": infoid,"categorynum": categorynum};
225			Util.ajax({
226				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getInfofeedbackCount",
227				data: str,
228				success: function(msg) {
229					callback(checkJson(msg.custom.count));
230				}
231			}, true);
232        },
233
234        // 在线投票
235        onlineVote: function ( voteId, options, callback) {
236        	var str = {"siteGuid": siteInfo.siteGuid,"voteId": voteId,"options": options};
237			Util.ajax({
238				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/onlineVote",
239				data: str,
240				success: function(msg) {
241					callback(checkJson(msg.custom));
242				}
243			}, true);
244        },
245
246        // 获取投票信息
247        getNewVoteCount: function (voteId, callback) {
248        	var str = {"siteGuid": siteInfo.siteGuid,"voteId": voteId};
249			Util.ajax({
250				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getNewVoteCount",
251				data: str,
252				success: function(msg) {
253					callback(checkJson(msg.custom.voteList));
254				}
255			}, true);
256        },
257
258        // 网上调查统计结果
259        selectQResult: function (QID, callback) {
260            var str = {"siteGuid": siteInfo.siteGuid,"QID": QID};
261			Util.ajax({
262				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/selectQResult",
263				data: str,
264				success: function(msg) {
265					callback(checkJson(msg.custom.sub));
266				}
267			}, true);
268        },
269
270        // 网上调查提交
271        vote: function (options, contents, questionnaireId, yzm, imgguid, isIe8,callback) {
272            var str = {"siteGuid": siteInfo.siteGuid,"options": options,"contents": contents,"questionnaireId": questionnaireId,"yzm": yzm,"imgguid": imgguid,"isIe8":isIe8};
273			Util.ajax({
274				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/vote",
275				data: str,
276				success: function(msg) {
277					callback(checkJson(msg.custom));
278				}
279			}, true);
280        },
281
282        // 获取首页面的在线访谈记录
283        getZxftInfoList: function(callback) {
284			Util.ajax({
285				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getZxftInfoList",
286				data: {"siteGuid": siteInfo.siteGuid},
287				success: function(msg) {
288					callback(checkJson(msg.custom));
289				}
290			}, true);
291        },
292
293        // 根据栏目名称模糊查询并���回所有父栏目
294        getFullLikeCate: function (categoryName, callback) {
295            Util.ajax({
296				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getFullLikeCate",
297				data: {"siteGuid": siteInfo.siteGuid,"categoryName": categoryName},
298				success: function(msg) {
299					callback(checkJson(msg.custom.cateList));
300				}
301			}, true);
302        },
303
304        // 根据栏目号获取信息标题列表
305        getTitleListByCategoryNum: function (categoryNum, length, callback) {
306            Util.ajax({
307				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getTitleListByCategoryNum",
308				data: {"siteGuid": siteInfo.siteGuid,"categoryNum": categoryNum,"length": length},
309				success: function(msg) {
310					callback(checkJson(msg.custom.titleList));
311				}
312			}, true);
313        },
314
315        // 获取栏目头条信息正文
316        getCateTopInfoContent: function (categoryNum, callback) {
317            Util.ajax({
318				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getCateTopInfoContent",
319				data: {"siteGuid": siteInfo.siteGuid,"categoryNum": categoryNum},
320				success: function(msg) {
321					callback(checkJson(msg.custom));
322				}
323			}, true);
324        },
325
326        // 获取信息详情
327        getInfoByID: function (infoID, callback) {
328            Util.ajax({
329				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getInfoByID",
330				data: {"siteGuid": siteInfo.siteGuid,"infoID": infoID},
331				success: function(msg) {
332					callback(checkJson(msg.custom));
333				}
334			}, true);
335        },
336        // 获取百度oauth认证token
337        getBaiduToken: function (infoID, callback) {
338        	Util.ajax({
339        		url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getBaiduToken",
340        		success: function(msg) {
341        			callback(checkJson(msg.custom.result));
342        		}
343        	}, true);
344        },
345        // 获取信箱组别列表
346        getLetterGroupList: function(groupNumbers,callback) {
347        	var str = {"siteGuid": siteInfo.siteGuid,"groupNumbers": groupNumbers};
348			Util.ajax({
349				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getLetterGroupList",
350				data: str,
351				success: function(msg) {
352					callback(checkJson(msg.custom.groupList));
353				}
354			}, true);
355        },
356        // 获取信箱下拉列表
357        getLetterBoxs: function (groupGuid,callback) {
358        	var str = {"siteGuid": siteInfo.siteGuid,"groupGuid": groupGuid};
359			Util.ajax({
360				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getLetterBoxList",
361				data: str,
362				success: function(msg) {
363					callback(checkJson(msg.custom.boxs));
364				}
365			}, true);
366        },
367        // 获取信件类别下拉列表
368        getLetterTypes: function (boxGuid, callback) {
369			Util.ajax({
370				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getLetterTypes",
371				data: {"siteGuid": siteInfo.siteGuid, "boxGuid": boxGuid},
372				success: function(msg) {
373					callback(checkJson(msg.custom.types));
374				}
375			}, true);
376        },
377        // 咨询投诉信件提交
378        letterPost: function (postUserName, tel, sex, email, address, subject, content, yzm, imgGuid, boxGuid, pwd, consultType, isUserAllowedPublish, submitTimes, callback) {
379        	var str = {"siteGuid": siteInfo.siteGuid,"postUserName": postUserName,"tel": tel,"sex": sex,"email": email,"address": address,"subject": subject,"content": content,"yzm": yzm,"imgGuid": imgGuid,"boxGuid": boxGuid,"pwd": pwd,"consultType": consultType,"isUserAllowedPublish": isUserAllowedPublish,"submitTimes": submitTimes};
380			Util.ajax({
381				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/letterPost",
382				data: str,
383				success: function(msg) {
384					callback(checkJson(msg.custom));
385				}
386			}, true);
387        },
388        // 获取信件列表
389        getLetterList: function (cNum, cPwd, group, pageIndex, pageSize, callback) {
390        	var str = {"siteGuid": siteInfo.siteGuid,"cNum": cNum,"cPwd": cPwd,"group": group,"pageIndex": pageIndex,"pageSize": pageSize};
391			Util.ajax({
392				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getLetterList",
393				data: str,
394				success: function(msg) {
395					callback(checkJson(msg.custom));
396				}
397			}, true);
398        },
399        // 咨询投诉信件详情
400        getLetterDetail: function (infoGuid, callback) {
401        	var str = {"siteGuid": siteInfo.siteGuid,"infoGuid": infoGuid};
402			Util.ajax({
403				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getLetterDetail",
404				data: str,
405				success: function(msg) {
406					callback(checkJson(msg.custom.data));
407				}
408			}, true);
409        },
410        // 咨询投诉满意度列表
411        getSatisfaction: function (callback) {
412			Util.ajax({
413				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getSatisfaction",
414				success: function(msg) {
415					callback(checkJson(msg.custom.mydList));
416				}
417			}, true);
418        },
419        // 咨询投诉满意度评价
420        letterComment: function (myd,pwd,infoGuid, callback) {
421        	var str = {"siteGuid": siteInfo.siteGuid,"myd": myd,"pwd": pwd,"infoGuid": infoGuid};
422			Util.ajax({
423				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/letterComment",
424				data: str,
425				success: function(msg) {
426					callback(checkJson(msg.custom));
427				}
428			}, true);
429        },
430        // 获取招投标栏目信息发布数量
431        getZTBCategoryInfoCount: function (categoryNum,callback) {
432			Util.ajax({
433				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getZTBCategoryInfoCount",
434				data: {"siteGuid": siteInfo.siteGuid,"categoryNum": categoryNum},
435				success: function(msg) {
436					callback(checkJson(msg.custom));
437				}
438			}, true);
439        },
440      
441        initGovDept:function(callback){
442        	Util.ajax({
443				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/initGovDept",
444				data: {"parentDeptCode": ""},
445				success: function(msg) {
446					callback(checkJson(msg.custom));
447				}
448			}, true);
449        },
450        	 
451        addPersonalApply:function(param, callback){
452        	Util.ajax({
453				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/addPersonalApply",
454				data: {"params": param},
455				success: function(msg) {
456					callback(checkJson(msg.custom));
457				}
458			}, true);
459        },
460
461    	//合并依申请公开接口
462        addApply:function(param, callback){
463        	param.siteGuid = siteInfo.siteGuid;
464        	Util.ajax({
465				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/addApply",
466				data: param,
467				success: function(msg) {
468					callback(checkJson(msg.custom));
469				}
470			}, true);
471        },
472        
473        getApplyResult:function (YZM, imageguid, applyflown, searchPwd, callback){
474    		Util.ajax({
475				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getApplyResult",
476				data: {"siteGuid": siteInfo.siteGuid,"applyflown":applyflown,"searchPwd": searchPwd,"YZM":YZM,"imageguid":imageguid},
477				success: function(msg) {
478					callback(checkJson(msg.custom));
479				}
480			}, true);
481        },
482        //获取在线访谈前台展示列表
483        getOnlineInterviewList:function(type, pageIndex, pageSize,callback){
484    		Util.ajax({
485				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getOnlineInterviewList",
486				data: {"siteGuid": siteInfo.siteGuid,"type": type,"pageIndex": pageIndex,"pageSize": pageSize},
487				success: function(msg) {
488					callback(checkJson(msg.custom));
489				}
490			}, true);
491		},
492		//获取在线访谈详细信息
493		getMeetInfo:function(meetingGuid, callback){
494    		Util.ajax({
495				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getMeetInfo",
496				data: {"siteGuid": siteInfo.siteGuid,"meetingGuid": meetingGuid},
497				success: function(msg) {
498					callback(checkJson(msg.custom));
499				}
500			}, true);
501		},
502		//获取在线访谈精彩瞬间图片
503		getMeetSpecialPic:function(meetingGuid,callback){
504    		Util.ajax({
505				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getMeetSpecialPic",
506				data: {"siteGuid": siteInfo.siteGuid,"meetingGuid": meetingGuid},
507				success: function(msg) {
508					callback(checkJson(msg.custom.picList));
509				}
510			}, true);
511		},
512		//获取在线访谈初始化问答
513		getMeetAskList:function(meetingGuid,callback){
514    		Util.ajax({
515				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getMeetAskList",
516				data: {"siteGuid": siteInfo.siteGuid,"meetingGuid": meetingGuid},
517				success: function(msg) {
518					callback(checkJson(msg.custom.askList));
519				}
520			}, true);
521		},
522		//获取在线访谈问题提交
523		meetAskPost:function(meetingGuid, userName, askContent, callback){
524    		Util.ajax({
525				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/meetAskPost",
526				data: {"siteGuid": siteInfo.siteGuid,"meetingGuid": meetingGuid,"userName": userName,"askContent": askContent},
527				success: function(msg) {
528					callback(checkJson(msg.custom));
529				}
530			}, true);
531		},
532		//用户注册,发送手机验证码
533		sendSmsValidateCode:function(phone, callback){
534			var str = {"phone": phone};
535			Util.ajax({
536				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/sendSmsValidateCode",
537				data: str,
538				success: function(msg) {
539					callback(checkJson(msg.custom));
540				}
541			}, true);
542		},
543		//前台用户访问量统计,供智能推送使用
544		visitStatistics:function(infoId){
545    		var str = {"siteGuid": siteInfo.siteGuid,"infoId": infoId};
546			Util.ajax({
547				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/visitStatistics",
548				data: str,
549				success: function(msg) {
550				}
551			}, true);
552		},
553		//获取前台用户智能推送列表
554		getSmartPushList:function(callback){
555			Util.ajax({
556				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getSmartPushList",
557				data: {"siteGuid": siteInfo.siteGuid},
558				success: function(msg) {
559					callback(checkJson(msg.custom));
560				}
561			}, false);
562		},
563		//获取前台用户智能推送列表
564		getCategorySubscribeList:function(type, callback){
565			Util.ajax({
566				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getCategorySubscribeList",
567				data: {"siteGuid": siteInfo.siteGuid, "type": type},
568				success: function(msg) {
569					callback(checkJson(msg.custom.cateList));
570				}
571			}, false);
572		},
573		//获取前台用户订阅栏目信息列表
574		getMySubscribeList:function(type,pageIndex, pageSize, callback){
575			Util.ajax({
576				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getMySubscribeList",
577				data: {"siteGuid": siteInfo.siteGuid,"type": type,"pageIndex": pageIndex,"pageSize": pageSize},
578				success: function(msg) {
579					callback(checkJson(msg.custom));
580				}
581			}, false);
582		},
583		//定制我的栏目
584		subscribeMyCategory:function(selectValue, type, callback){
585			Util.ajax({
586				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/subscribeMyCategory",
587				data: {"siteGuid": siteInfo.siteGuid,"type": type,"selectValue": selectValue},
588				success: function(msg) {
589					callback(checkJson(msg.custom));
590				}
591			}, false);
592		},
593		//获取前台用户中心消息
594		getMessageCenterList:function(pageIndex, pageSize, callback){
595			Util.ajax({
596				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getMessageCenterList",
597				data: {"siteGuid": siteInfo.siteGuid,"pageIndex": pageIndex,"pageSize": pageSize},
598				success: function(msg) {
599					callback(checkJson(msg.custom));
600				}
601			}, false);
602		},
603		//点击查看用户中心消息后修改阅读状态
604		modifyMsgStatus:function(msgGuid, callback){
605			Util.ajax({
606				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/modifyMsgStatus",
607				data: {"siteGuid": siteInfo.siteGuid,"msgGuid": msgGuid},
608				success: function(msg) {
609					callback(checkJson(msg.custom));
610				}
611			}, false);
612		},
613		//删除用户中心消息
614		deleteMessageCenterMsg: function (rowguid, callback) {
615			Util.ajax({
616				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/deleteMessageCenterMsg",
617				data: {"siteGuid": siteInfo.siteGuid,"rowguid": rowguid},
618				success: function(msg) {
619					callback(checkJson(msg.custom));
620				}
621			}, false);
622        },
623        //获取前台用户中心依申请公开列表
624        getMyDependApplyList: function (searchPwd, type, keyWord, pageIndex, pageSize, callback) {
625        	Util.ajax({
626				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getMyDependApplyList",
627				data: {"siteGuid": siteInfo.siteGuid,"searchPwd": searchPwd,"type": type,"keyWord": keyWord,"pageIndex": pageIndex,"pageSize": pageSize},
628				success: function(msg) {
629					callback(checkJson(msg.custom));
630				}
631			}, false);
632        },
633        // 我的咨询投诉信件列表
634        getMyLetterList: function (group, pageIndex, pageSize, callback) {
635        	Util.ajax({
636				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getMyLetterList",
637				data: {"siteGuid": siteInfo.siteGuid,"group": group,"pageIndex": pageIndex,"pageSize": pageSize},
638				success: function(msg) {
639					callback(checkJson(msg.custom));
640				}
641			}, false);
642        },
643        // 最新咨询投诉信件列表
644        getLetterListByCondition: function (subject, postName, replyContent, content,startTime,endTime,group, pageIndex, pageSize, callback) {
645        	var str = {"siteGuid": siteInfo.siteGuid,"subject": subject,"postName": postName,"replyContent": replyContent,"content": content,"startTime": startTime,"endTime": endTime,"group": group,"pageIndex": pageIndex,"pageSize": pageSize};
646			Util.ajax({
647				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getLetterListByCondition",
648				data: str,
649				success: function(msg) {
650					callback(checkJson(msg.custom));
651				}
652			}, true);
653        },
654        //获取我的账户信息
655        getAccountsInfo: function (callback) {
656        	Util.ajax({
657				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getAccountsInfo",
658				success: function(msg) {
659					callback(checkJson(msg.custom));
660				}
661			}, false);
662        },
663        //修改我的账户信息
664        modifyAccountsInfo: function (userAccount, displayName, userType, mobile, userEmail, callback) {
665        	Util.ajax({
666				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/modifyAccountsInfo",
667				data: {"userAccount": userAccount,"displayName": displayName,"userType": userType,"mobile": mobile,"userEmail": userEmail},
668				success: function(msg) {
669					callback(checkJson(msg.custom));
670				}
671			}, false);
672        },
673        //信息公开获取机构
674		getXxgkDept: function (url, callback) {
675			Util.ajax({
676				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getXxgkDept",
677				data: {"siteGuid": siteInfo.siteGuid, "url": url},
678				success: function(msg) {
679					callback(checkJson(msg.custom));
680				}
681			}, false);
682        },
683        
684        ///////////////////////////////////////////////////////////////////微信接口//////////////////////////////////////////////////////////////////////////
685		//用户登陆
686        chechUser: function (loginID, password, callback) {
687            $.ajax({
688                url: siteInfo.projectName + "/weChatAction.action?cmd=checkUser",
689                type: "post",
690                data: {
691                    "loginID": loginID,
692                    "password": password
693                },
694                dataType: "json",
695                cache: false
696            })
697            .success(function (msg) {
698                callback(msg.custom);
699            })
700        },
701		//判断用户是否存在
702		checkUserExist: function (loginID, callback) {
703            $.ajax({
704                url: siteInfo.projectName + "/weChatAction.action?cmd=checkUserExist",
705                type: "post",
706                data: {
707                    "loginID": loginID
708                },
709                dataType: "json",
710                cache: false
711            })
712            .success(function (msg) {
713                callback(msg.custom);
714            })
715        },
716		//根据id获取用户类型名
717		getUserTypeByGuid: function (userTypeGuid, callback) {
718            $.ajax({
719                url: siteInfo.projectName + "/weChatAction.action?cmd=getUserTypeByGuid",
720                type: "post",
721                data: {
722                    "userTypeGuid": userTypeGuid
723                },
724                dataType: "json",
725                cache: false
726            })
727            .success(function (msg) {
728                callback(msg.custom);
729            })
730        },
731		//获取用户类型名
732		getUserType: function ( callback) {
733            $.ajax({
734                url: siteInfo.projectName + "/weChatAction.action?cmd=getUserType",
735                type: "post",
736                dataType: "json",
737                cache: false
738            })
739            .success(function (msg) {
740                callback(msg.custom);
741            })
742        },
743		//修改用户信息
744		updateUser: function (loginID, userType, userName, cardID, mobile, telphone, email, address, sex, callback) {
745            $.ajax({
746                url: siteInfo.projectName + "/weChatAction.action?cmd=updateUser",
747                type: "post",
748                data: {
749                    "loginID": loginID,
750					"userType": userType,
751					"userName": userName,
752					"cardID": cardID,
753					"mobile": mobile,
754					"telphone": telphone,
755					"email": email,
756					"address": address,
757					"sex": sex
758                },
759                dataType: "json",
760                cache: false
761            })
762            .success(function (msg) {
763                callback(msg.custom);
764            })
765        },
766		//新增用户
767		addUser: function (loginID, userType, password, userName, cardID, mobile, telphone, email, address, sex, callback) {
768            $.ajax({
769                url: siteInfo.projectName + "/weChatAction.action?cmd=addUser",
770                type: "post",
771                data: {
772                    "loginID": loginID,
773					"userType": userType,
774					"password": password,
775					"userName": userName,
776					"cardID": cardID,
777					"mobile": mobile,
778					"telphone": telphone,
779					"email": email,
780					"address": address,
781					"sex": sex
782                },
783                dataType: "json",
784                cache: false
785            })
786            .success(function (msg) {
787                callback(msg.custom);
788            })
789        },
790		//注册选择
791		getUserType: function (callback) {
792            $.ajax({
793                url: siteInfo.projectName + "/weChatAction.action?cmd=getUserType",
794                type: "post",
795                dataType: "json",
796                cache: false
797            })
798            .success(function (msg) {
799                callback(msg.custom);
800            })
801        },
802		//修改用户密码
803		updateUserPwd: function (loginID, password, callback) {
804            $.ajax({
805                url: siteInfo.projectName + "/weChatAction.action?cmd=updateUserPwd",
806                type: "post",
807				data: {
808                    "loginID": loginID,
809					"password" : password
810                },
811                dataType: "json",
812                cache: false
813            })
814            .success(function (msg) {
815                callback(msg.custom);
816            })
817        },
818		//获取信息列表
819		getInformation: function (length, callback) {
820            $.ajax({
821                url: siteInfo.projectName + "/weChatAction.action?cmd=getInformation",
822                type: "post",
823				data: {
824                    "length": length,
825					"siteGuid": siteInfo.siteGuid
826                },
827                dataType: "json",
828                cache: false
829            })
830            .success(function (msg) {
831                callback(msg.custom);
832            })
833        },
834		//获取信息详情
835		getInfoByid: function (infoID, callback) {
836            $.ajax({
837                url: siteInfo.projectName + "/weChatAction.action?cmd=getInfoByID",
838                type: "post",
839				data: {
840                    "infoID": infoID,
841					"siteGuid": siteInfo.siteGuid
842                },
843                dataType: "json",
844                cache: false
845            })
846            .success(function (msg) {
847                callback(msg.custom);
848            })
849        },
850		// 最新咨询投诉信件提交
851        letterPostWeChat: function (postUserName, tel, sex, email, address, subject, content, YZM, imgguid, boxguid, loginId, pwd, consulttype, isuserallowedpublish, callback) {
852            $.ajax({
853                url: siteInfo.projectName + "/weChatAction.action?cmd=letterPost",
854                type: "post",
855                data: {
856                    "postUserName": postUserName,
857                    "tel": tel,
858                    "sex": sex,
859                    "email": email,
860                    "address": address,
861                    "subject": subject,
862                    "content": content,
863                    "YZM": YZM,
864                    "imgguid": imgguid,
865                    "boxguid": boxguid,
866                    "loginId": loginId,
867                    "pwd": pwd,
868                    "siteGuid": siteInfo.siteGuid,
869                    "consulttype": consulttype,
870                    "isuserallowedpublish": isuserallowedpublish
871                },
872                dataType: "json",
873                cache: false
874            })
875            .success(function (msg) {
876                callback(checkJson(msg));
877            })
878        },
879		//获取我的信件
880		getMyConsult: function (userGuid,pageSize, callback) {
881            $.ajax({
882                url: siteInfo.projectName + "/weChatAction.action?cmd=getMyLetterList",
883                type: "post",
884				data: {
885					"userGuid" : userGuid,
886                    "siteGuid": siteInfo.siteGuid,
887                    "pageSize": pageSize,
888                    "projectName": siteInfo.projectName
889                },
890                dataType: "json",
891                cache: false
892            })
893            .success(function (msg) {
894                callback(msg.custom);
895            })
896        },
897		//获取信件详情
898		getConsultByGuid: function (infoGuid, callback) {
899            $.ajax({
900                url: siteInfo.projectName + "/weChatAction.action?cmd=getConsultByGuid",
901                type: "post",
902				data: {
903					"infoGuid" : infoGuid,
904					"siteGuid": siteInfo.siteGuid
905                },
906                dataType: "json",
907                cache: false
908            })
909            .success(function (msg) {
910                callback(msg.custom);
911            })
912        },
913		//获取用户信息
914		getUserInfo: function (loginID, callback) {
915            $.ajax({
916                url: siteInfo.projectName + "/weChatAction.action?cmd=getUserInfo",
917                type: "post",
918				data: {
919                    "loginID": loginID
920                },
921                dataType: "json",
922                cache: false
923            })
924            .success(function (msg) {
925                callback(msg.custom);
926            })
927        },
928		//获取信箱组别
929		getBoxGroup: function (callback) {
930            $.ajax({
931                url: siteInfo.projectName + "/weChatAction.action?cmd=getBoxGroup",
932                type: "post",
933                dataType: "json",
934                cache: false
935            })
936            .success(function (msg) {
937                callback(msg.custom);
938            })
939        },
940		//获取信箱
941		getLetterBoxList: function (groupGuid,callback) {
942            $.ajax({
943                url: siteInfo.projectName + "/weChatAction.action?cmd=getLetterBoxList",
944                type: "post",
945				data: {
946                    "groupGuid": groupGuid,
947					"siteGuid": siteInfo.siteGuid
948                },
949                dataType: "json",
950                cache: false
951            })
952            .success(function (msg) {
953                callback(msg.custom);
954            })
955        },
956		//获取类型
957		getLetterTypeWeChat: function (boxGuid, callback) {
958            $.ajax({
959                url: siteInfo.projectName + "/weChatAction.action?cmd=getLetterTypes",
960                type: "post",
961				data: {
962                    "siteGuid": siteInfo.siteGuid,
963					"boxGuid" : boxGuid
964                },
965                dataType: "json",
966                cache: false
967            })
968            .success(function (msg) {
969                callback(msg.custom);
970            })
971        },
972		///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
973        
974        //前台注册用户找回密码验证用户信息
975        checkUserAccount:function(userAccount, verificationCode, verificationGuid,callback){
976			Util.ajax({
977				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/checkUserAccount",
978				data: {"userAccount": userAccount, "verificationCode": verificationCode, "verificationGuid": verificationGuid},
979				success: function(msg) {
980					callback(checkJson(msg.custom));
981				}
982			}, true);
983		},
984		//前台用户找回密码发送短信验证码
985		getSmsValidateCode:function(userGuid,callback){
986    		Util.ajax({
987				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getSmsValidateCode",
988				data: {"userGuid": userGuid},
989				success: function(msg) {
990					callback(checkJson(msg.custom));
991				}
992			}, true);
993		},
994		//前台用户找回密码发送邮箱验证码
995		getEmailValidateCode:function(userGuid,callback){
996    		Util.ajax({
997				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getEmailValidateCode",
998				data: {"siteGuid": siteInfo.siteGuid, "userGuid": userGuid},
999				success: function(msg) {
1000					callback(checkJson(msg.custom));
1001				}
1002			}, true);
1003		},
1004		//前台用户找回密码,通过手机验证码修改密码
1005		modifyForgetPsdBySmsValidateCode:function(userGuid, smsValidateCode, password, callback){
1006    		Util.ajax({
1007				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/modifyForgetPsdBySmsValidateCode",
1008				data: {"userGuid": userGuid, "smsValidateCode": smsValidateCode, "password": password},
1009				success: function(msg) {
1010					callback(checkJson(msg.custom));
1011				}
1012			}, true);
1013		},
1014		//前台用户找回密码,验证短信验证码是否正确
1015		modifyForgetPsdByEmailValidateCode:function(userGuid, emailValidateCode, password, callback){
1016    		Util.ajax({
1017				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/modifyForgetPsdByEmailValidateCode",
1018				data: {"userGuid": userGuid, "emailValidateCode": emailValidateCode, "password": password},
1019				success: function(msg) {
1020					callback(checkJson(msg.custom));
1021				}
1022			}, true);
1023		},
1024		//前台用户注册,通过手机短信验证码验证方式
1025		registerUserByPhone:function(username, password, phone, smsValidateCode,callback){
1026			var str = {"username": username,"password": password,"phone": phone,"smsValidateCode": smsValidateCode};
1027			Util.ajax({
1028				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/registerUserByPhone",
1029				data: str,
1030				success: function(msg) {
1031					callback(checkJson(msg.custom));
1032				}
1033			}, true);
1034		},
1035		//前台用户注册,通过邮件验证码验证方式
1036		registerByEmail:function(username, password, email,frontUrl,callback){
1037			var str = {"siteGuid": siteInfo.siteGuid,"username": username,"password": password,"email": email,"frontUrl": frontUrl};
1038			Util.ajax({
1039				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/registerByEmail",
1040				data: str,
1041				success: function(msg) {
1042					callback(checkJson(msg.custom));
1043				}
1044			}, true);
1045		},
1046		//前台用户注册,邮件激活用户
1047		activateAccount:function(account, uniqueCode, callback){
1048			Util.ajax({
1049				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/activateAccount",
1050				data: {"siteGuid": siteInfo.siteGuid,"account": account,"uniqueCode": uniqueCode},
1051				success: function(msg) {
1052					callback(checkJson(msg.custom));
1053				}
1054			}, true);
1055		},
1056		//前台用户注册,获取已订阅栏目
1057		getMyCategorySub:function(type, callback){
1058			Util.ajax({
1059				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getMyCategorySub",
1060				data: {"siteGuid": siteInfo.siteGuid, "type": type},
1061				success: function(msg) {
1062					callback(checkJson(msg.custom));
1063				}
1064			}, false);
1065		},
1066		//前台用户注册,删除一个栏目的订阅
1067		deleteSubscribe:function(curId, type, callback){
1068    		Util.ajax({
1069				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/deleteSubscribe",
1070				data: {"siteGuid": siteInfo.siteGuid, "curId": curId, "type": type},
1071				success: function(msg) {
1072					callback(checkJson(msg.custom));
1073				}
1074			}, false);
1075		},
1076		//前台用户修改密码,检查原登录密码是否正确
1077		checkLoginPassword:function(pwd, callback){
1078    		Util.ajax({
1079				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/checkLoginPassword",
1080				data: {"pwd": pwd},
1081				success: function(msg) {
1082					callback(checkJson(msg.custom));
1083				}
1084			}, false);
1085		},
1086		//前台用户修改密码
1087		modifyPassword:function(password, callback){
1088    		Util.ajax({
1089				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/modifyPassword",
1090				data: {"password": password},
1091				success: function(msg) {
1092					callback(checkJson(msg.custom));
1093				}
1094			}, false);
1095		},
1096		//前台用户注册,修改绑定手机号
1097		boundPhone:function(phone, smsValidateCode, callback){
1098    		Util.ajax({
1099				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/boundPhone",
1100				data: {"phone": phone, "smsValidateCode": smsValidateCode},
1101				success: function(msg) {
1102					callback(checkJson(msg.custom));
1103				}
1104			}, false);
1105		},
1106		//前台用户注册,修改绑定邮箱
1107		boundEmail:function(email, emailValidateCode, callback){
1108    		Util.ajax({
1109				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/boundEmail",
1110				data: {"email": email, "emailValidateCode": emailValidateCode},
1111				success: function(msg) {
1112					callback(checkJson(msg.custom));
1113				}
1114			}, false);
1115		},
1116		//前台用户,绑定手机发送短信验证码
1117		boundPhoneValidateCode:function(phone, callback){
1118    		Util.ajax({
1119				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/boundPhoneValidateCode",
1120				data: {"phone": phone},
1121				success: function(msg) {
1122					callback(checkJson(msg.custom));
1123				}
1124			}, false);
1125		},
1126		//前台用户,绑定邮箱发送短信验证码
1127		boundEmailValidateCode:function(email, callback){
1128    		Util.ajax({
1129				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/boundEmailValidateCode",
1130				data: {"siteGuid": siteInfo.siteGuid, "email": email},
1131				success: function(msg) {
1132					callback(checkJson(msg.custom));
1133				}
1134			}, false);
1135		},
1136		//前台用户,修改个人资料
1137		saveMemberInfo:function(phone,displayName,trueName,sex,cardId,birthDay,email,callback){
1138			Util.ajax({
1139				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/saveMemberInfo",
1140				data: {"phone": phone,"displayName": displayName,"trueName": trueName,"sex": sex,"cardId": cardId,"birthDay": birthDay,"email":email},
1141				success: function(msg) {
1142					callback(checkJson(msg.custom));
1143				}
1144			}, false);
1145		},
1146		//RSS订阅页面
1147		getRssInfoList:function(cateNum,callback){
1148			var str = {"siteGuid": siteInfo.siteGuid,"cateNum": cateNum};
1149			Util.ajax({
1150				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getRssInfoList",
1151				data: str,
1152				success: function(msg) {
1153					callback(checkJson(msg.custom));
1154				}
1155			}, true);
1156		},
1157		//确认取消邮箱订阅
1158		doMailSubscribe:function(type, callback){
1159    		Util.ajax({
1160				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/doMailSubscribe",
1161				data: {"type": type},
1162				success: function(msg) {
1163					callback(checkJson(msg.custom));
1164				}
1165			}, false);
1166		},
1167		//验证用户名是否已经被注册
1168		checkUserNameIsInUse:function(userName,callback){
1169			var str = {"userName": userName};
1170        	Util.ajax({
1171				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/checkUserNameIsInUse",
1172				data: str,
1173				success: function(msg) {
1174					callback(checkJson(msg.custom));
1175				}
1176			}, true);
1177		},
1178		//用户中心获取头像生成到临时目录,裁剪使用
1179		getRegisterHeadPic:function(callback){
1180            Util.ajax({
1181				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/getRegisterHeadPic",
1182				success: function(msg) {
1183					callback(checkJson(msg.custom));
1184				}
1185			}, false);
1186		},
1187		//将前台头像的推荐头像图片路径转为byte[]并存入用户表
1188		saveMemberClassicHead:function(headImgSrc, callback){
1189			Util.ajax({
1190				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/saveMemberClassicHead",
1191				data: {"headImgSrc": headImgSrc},
1192				success: function(msg) {
1193					callback(checkJson(msg.custom));
1194				}
1195			}, false);
1196		},
1197		//将图片base64编码保存转为byte[]并存到用户表中
1198		saveMemberHead:function(imgbase64, callback, errorCallback){
1199			Util.ajax({
1200				url: siteInfo.projectName + "/rest/frontAppNeedLoginAction/saveMemberHead",
1201				data: {"imgbase64": imgbase64},
1202				success: function(msg) {
1203					callback(checkJson(msg.custom));
1204				},
1205				error: function(msg) {
1206					errorCallback(msg);
1207				}
1208			}, false);
1209		},
1210		
1211		//获取cms信息列表
1212		getWebInfoList:function(title,categorynum,beginDate,toDate,infostatuscode,pageIndex, pageSize,callback){
1213            var str = {"siteGuid": siteInfo.siteGuid,"title": title,"categorynum": categorynum,"beginDate": beginDate,"toDate": toDate,"infostatuscode": infostatuscode,"pageIndex": pageIndex,"pageSize": pageSize};
1214			Util.ajax({
1215				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getWebInfoList",
1216				data: str,
1217				success: function(msg) {
1218					callback(checkJson(msg.custom));
1219				}
1220			}, true);
1221		},
1222		//获取一条详细信息
1223		getOneInformation:function(infoid,callback){
1224            var str = {"siteGuid": siteInfo.siteGuid,"infoid": infoid};
1225			Util.ajax({
1226				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getOneInformation",
1227				data: str,
1228				success: function(msg) {
1229					callback(checkJson(msg.custom));
1230				}
1231			}, true);
1232		},
1233		//获取cms栏目
1234		getWebdbCategory:function(categorynum,categoryname,callback){
1235            var str = {"siteGuid": siteInfo.siteGuid,"categorynum": categorynum,"categoryname": categoryname};
1236			Util.ajax({
1237				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getWebdbCategory",
1238				data: str,
1239				success: function(msg) {
1240					callback(checkJson(msg.custom.cateList));
1241				}
1242			}, true);
1243		},
1244		//获取信息公开归档信息
1245        getGovWebInfoList:function(deptcode,categorynum,title,beginDate,toDate,theme,genre,pageIndex, pageSize,callback){
1246            var str = {"siteGuid": siteInfo.siteGuid,"deptcode": deptcode,"categorynum": categorynum,"title": title,"beginDate": beginDate,"toDate": toDate,"theme": theme,"genre": genre,"pageIndex": pageIndex,"pageSize": pageSize};
1247			Util.ajax({
1248				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getGovWebInfoList",
1249				data: str,
1250				success: function(msg) {
1251					callback(checkJson(msg.custom));
1252				}
1253			}, true);
1254        },
1255        //获取一条信息公开详细信息
1256        getOneGovInformation:function(infoid,callback){
1257            var str = {"siteGuid": siteInfo.siteGuid,"infoid": infoid};
1258			Util.ajax({
1259				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getOneGovInformation",
1260				data: str,
1261				success: function(msg) {
1262					callback(checkJson(msg.custom));
1263				}
1264			}, true);
1265        },
1266        //获取信息公开机构
1267        getWebdbGovDept:function(deptcode,deptname,callback){
1268            var str = {"siteGuid": siteInfo.siteGuid,"deptcode": deptcode,"deptname": deptname};
1269			Util.ajax({
1270				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getWebdbGovDept",
1271				data: str,
1272				success: function(msg) {
1273					callback(checkJson(msg.custom.deptList));
1274				}
1275			}, true);
1276        },
1277        //获取信息公开类目
1278        getWebdbGovCategory:function(deptcode,categorynum,categoryname,callback){
1279            var str = {"siteGuid": siteInfo.siteGuid,"deptcode": deptcode,"categorynum": categorynum,"categoryname": categoryname};
1280			Util.ajax({
1281				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getWebdbGovCategory",
1282				data: str,
1283				success: function(msg) {
1284					callback(checkJson(msg.custom.cateList));
1285				}
1286			}, true);
1287        },
1288        //获取信息公开主题
1289        getWebdbGovTheme:function(themevalue,themename,callback){
1290            var str = {"siteGuid": siteInfo.siteGuid,"themevalue": themevalue,"themename": themename};
1291			Util.ajax({
1292				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getWebdbGovTheme",
1293				data: str,
1294				success: function(msg) {
1295					callback(checkJson(msg.custom.themeList));
1296				}
1297			}, true);
1298        },
1299        //获取信息公开体裁
1300        getWebdbGovGenre:function(genrevalue,genrename,callback){
1301        	var str = {"siteGuid": siteInfo.siteGuid,"genrevalue": genrevalue,"genrename": genrename};
1302			Util.ajax({
1303				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getWebdbGovGenre",
1304				data: str,
1305				success: function(msg) {
1306					callback(checkJson(msg.custom.genreList));
1307				}
1308			}, true);
1309        },
1310        //获取分页列表
1311        getPageInfoList: function(controlname, callback) {
1312            var pageIndex=getQueryString('pageIndex');
1313            var categoryNum=getQueryString('categoryNum');
1314            var str = {"siteGuid": siteInfo.siteGuid,"categoryNum": categoryNum,"pageIndex": pageIndex,"controlname": controlname};
1315			Util.ajax({
1316				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getPageInfoList",
1317				data: str,
1318				success: function(msg) {
1319					callback(checkJson(msg.custom));
1320				}
1321			}, true);
1322
1323        },
1324        //需验证码验证获取分页列表
1325        getPageInfoListNew: function(controlname, callback) {
1326            var pageIndex=getQueryString('pageIndex');
1327            var categoryNum=getQueryString('categoryNum');
1328            var ImgGuid=getQueryString('ImgGuid');
1329            var YZM=getQueryString('YZM');
1330            var str = {"siteGuid": siteInfo.siteGuid,"categoryNum": categoryNum,"pageIndex": pageIndex,"controlname": controlname,"ImgGuid": ImgGuid,"YZM": YZM};
1331			Util.ajax({
1332				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getPageInfoListNew",
1333				data: str,
1334				success: function(msg) {
1335					callback(checkJson(msg.custom));
1336				}
1337			}, true);
1338
1339        },
1340        getCustomClassPageInfoList: function(controlname, callback) {
1341            var pageIndex=getQueryString('pageIndex');
1342            var classCode=getQueryString('classCode');
1343            var str = {"siteGuid": siteInfo.siteGuid,"classCode": classCode,"pageIndex": pageIndex,"controlname": controlname};
1344			Util.ajax({
1345				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getCustomClassPageInfoList",
1346				data: str,
1347				success: function(msg) {
1348					callback(checkJson(msg.custom));
1349				}
1350			}, true);
1351
1352        },
1353        getQueryString:function (name) {
1354            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
1355            var r = window.location.search.substr(1).match(reg);
1356            if (r != null) return encodeURI(r[2]);
1357            return null;
1358        },
1359        getGovInfoList:function(controlName,deptCode,categoryNum,theme,genre,pageIndex,callback){
1360        	var str = {"siteGuid": siteInfo.siteGuid,"controlName": controlName,"deptCode": deptCode,"categoryNum": categoryNum,"theme": theme,"genre": genre,"pageIndex": pageIndex};
1361			Util.ajax({
1362				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getGovInfoList",
1363				data: str,
1364				success: function(msg) {
1365					callback(checkJson(msg.custom));
1366				}
1367			}, true);
1368        },
1369        getGovCommonInfoList:function(controlName,columnNum,pageIndex,callback){
1370            var str = {"siteGuid": siteInfo.siteGuid,"controlName": controlName,"columnNum": columnNum,"pageIndex": pageIndex};
1371			Util.ajax({
1372				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getGovCommonInfoList",
1373				data: str,
1374				success: function(msg) {
1375					callback(checkJson(msg.custom));
1376				}
1377			}, true);
1378        },
1379        getServerTime:function(controlName,columnNum,pageIndex,callback){
1380			Util.ajax({
1381				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getServerTime",
1382				success: function(msg) {
1383					callback(checkJson(msg.custom));
1384				}
1385			}, true);
1386        },
1387        
1388        /**
1389         * 新在线访谈接口
1390         * */
1391        getNewMeetingInfo:function(callback){
1392        	var str = {"siteGuid":siteInfo.siteGuid};
1393            Util.ajax({
1394                url: siteInfo.projectName + "/rest/frontInterviewAction/getNewMeetingInfo",
1395                data: str,
1396                success: function(msg) {
1397					callback(checkJson(msg.custom));
1398				}
1399            },true);
1400        },
1401        
1402        getMeetingList:function(pageIndex,pageSize,callback){
1403        	var str = {"siteGuid":siteInfo.siteGuid,"pageIndex":pageIndex,"pageSize":pageSize};
1404            Util.ajax({
1405                url: siteInfo.projectName + "/rest/frontInterviewAction/getMeetingList",
1406                data: str,
1407                success: function(msg) {
1408					callback(checkJson(msg.custom));
1409				}
1410            },true);
1411        },
1412        
1413        getMeetDetail:function(meetingGuid,callback){
1414        	var str = {"siteGuid":siteInfo.siteGuid,"meetingGuid":meetingGuid};
1415            Util.ajax({
1416                url: siteInfo.projectName + "/rest/frontInterviewAction/getMeetDetail",
1417                data: str,
1418                success: function(msg) {
1419					callback(checkJson(msg.custom));
1420				}
1421            },true);
1422        },
1423        
1424        getMeetingPicList:function(meetingGuid,count,callback){
1425        	var str = {"siteGuid":siteInfo.siteGuid,"meetingGuid":meetingGuid,"count":count};
1426            Util.ajax({
1427                url: siteInfo.projectName + "/rest/frontInterviewAction/getMeetingPicList",
1428                data: str,
1429                success: function(msg) {
1430					callback(checkJson(msg.custom));
1431				}
1432            },true);
1433        },
1434        
1435        getMeetingAskList:function(meetingGuid,callback){
1436        	var str = {"siteGuid":siteInfo.siteGuid,"meetingGuid":meetingGuid};
1437            Util.ajax({
1438                url: siteInfo.projectName + "/rest/frontInterviewAction/getMeetingAskList",
1439                data: str,
1440                success: function(msg) {
1441					callback(checkJson(msg.custom));
1442				}
1443            },true);
1444        },
1445        
1446        meetingAskSubmit:function(meetingGuid,userName,loginId,askContent,callback){
1447        	var str = {"siteGuid":siteInfo.siteGuid,"meetingGuid":meetingGuid,"userName":userName,"loginId":loginId,"askContent":askContent};
1448            Util.ajax({
1449                url: siteInfo.projectName + "/rest/frontInterviewAction/meetingAskSubmit",
1450                data: str,
1451                success: function(msg) {
1452					callback(checkJson(msg.custom));
1453				}
1454            },true);
1455        },
1456        
1457        getMeetPreview:function(meetingGuid,callback){
1458        	var str = {"siteGuid":siteInfo.siteGuid,"meetingGuid":meetingGuid};
1459            Util.ajax({
1460                url: siteInfo.projectName + "/rest/frontInterviewAction/getMeetPreview",
1461                data: str,
1462                success: function(msg) {
1463					callback(checkJson(msg.custom));
1464				}
1465            },true);
1466        },
1467        
1468        // 动态获取分页验证码
1469        pageListVerify: function (ImgGuid, YZM, callback) {
1470        	var str = {"siteGuid":siteInfo.siteGuid,"ImgGuid":ImgGuid,"YZM":YZM};
1471        	Util.ajax({
1472                url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/pageListVerify",
1473                data: str,
1474                success: function(msg) {
1475					callback(checkJson(msg.custom));
1476				}
1477        	},true);
1478        }
1479        ,
1480		 //动态获取cms归档信息
1481        getCmsArchiveInfoList:function(infoname,starttime,endtime, pageIndex, pageSize,callback){
1482        	var str= {"siteGuid": siteInfo.siteGuid,"infoname": infoname,"starttime": starttime,"endtime": endtime,"pageIndex": pageIndex,"pageSize": pageSize};
1483       		Util.ajax({
1484    				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getCmsArchiveInfoList",
1485    				data: str,
1486    				cache:false,
1487    				success: function(msg) {
1488    					callback(checkJson(msg.custom));
1489    				}
1490    			}, true);
1491    		},
1492		//动态获取归档信息详情
1493		getOneArchiveInformation:function(infoid,callback){
1494            var str = {"siteGuid": siteInfo.siteGuid,"infoid": infoid};
1495			Util.ajax({
1496				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getOneArchiveInformation",
1497				data: str,
1498				success: function(msg) {
1499					callback(checkJson(msg.custom));
1500				}
1501			}, true);
1502		},
1503		getTemplatePage:function(localpath, parentpath,callback){
1504			Util.ajax({
1505				url: siteInfo.projectName + "/rest/frontAppNotNeedLoginAction/getHtmlnew?siteGuid="+siteInfo.siteGuid+"&localpath="+localpath+"&projectName="+ siteInfo.projectName+"&parentpath="+parentpath,
1506				type:'get',
1507				dataType:'text',
1508				success: function(msg) {
1509				msg = JSON.parse(msg);
1510				if(typeof(msg) == "object" && 
1511					  Object.prototype.toString.call(msg).toLowerCase() == "[object object]" && !msg.length){
1512					  callback(checkJson(msg.custom));
1513					}else{
1514						callback(msg.custom);
1515					}
1516				}
1517			}, true);
1518        },
1519        initFailPage: function () {
1520        	var parentpath =window.parent.document.referrer;
1521            var localpath = window.document.location.pathname;
1522            this.getTemplatePage(localpath,parentpath, function (data) {
1523                if (localpath.indexOf(siteInfo.vname) == 0) {
1524                    var mywindow=window.open(data.html, "_blank");
1525                    history.go(-1);
1526                } else {
1527					if(typeof(data) == "object" && 
1528					  Object.prototype.toString.call(data).toLowerCase() == "[object object]" && !data.length){
1529					  document.write(data.html.replace(/\ufeff/g, ''));
1530						document.close();
1531					}else{
1532						document.write(data);
1533						document.close();
1534					}
1535				}
1536                    
1537                
1538            });
1539        }
1540    }
1541}(this, jQuery)));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.