ajaxmethod,app_code.ashx

来自「交流采样的滤波资料和一些参考程序」· ASHX 代码 · 共 34 行

ASHX
34
字号
addNamespace("AjaxMethod");
AjaxMethod_class = Class.create();
AjaxMethod_class.prototype = (new AjaxPro.Request()).extend({
	GetCode: function(code, callback) {
		return this.invoke("GetCode", {"code":code}, callback);
	},
	GetUserName: function(type, uname, callback) {
		return this.invoke("GetUserName", {"type":type, "uname":uname}, callback);
	},
	GetUserEnable: function(type, uname, callback) {
		return this.invoke("GetUserEnable", {"type":type, "uname":uname}, callback);
	},
	GetUserPwd: function(type, uname, pwd, callback) {
		return this.invoke("GetUserPwd", {"type":type, "uname":uname, "pwd":pwd}, callback);
	},
	checkTopicContent: function(topicContent, callback) {
		return this.invoke("checkTopicContent", {"topicContent":topicContent}, callback);
	},
	checkTopicPoint: function(userID, topicPoint, callback) {
		return this.invoke("checkTopicPoint", {"userID":userID, "topicPoint":topicPoint}, callback);
	},
	checkEmail: function(email, callback) {
		return this.invoke("checkEmail", {"email":email}, callback);
	},
	checkTopicLength: function(content, callback) {
		return this.invoke("checkTopicLength", {"content":content}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/AjaxMethod,App_Code.ashx";
	}
})
AjaxMethod = new AjaxMethod_class();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?