该问题已被锁定!
4
关注
1223
浏览

请问在ajax请求中,返回的Json数据中各个字段代表的意思是哪些?

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
AWSupport 初级会员 用户来自于: 广东省深圳市
2012-11-29 18:06
错误 错误代码 错误级别 返回信息
function _ajax_post_alert_processer(result)
{
	if (typeof(result.errno) == 'undefined')
	{
		alert(result);
	}
	else if (result.errno != 1)
	{
		alert(result.err);
	}
	else
	{
		if (result.rsm && result.rsm.url)
		{
			window.location = decodeURIComponent(result.rsm.url);
		}
		else
		{
			window.location.reload();
		}
	}
}

关于作者

问题动态

发布时间
2012-11-29 17:24
更新时间
2012-11-29 18:06
关注人数
4 人关注