Commit cc6b6214 authored by zfc's avatar zfc

模块找不发bug

parent 06bfe713
......@@ -67,7 +67,7 @@ define (['doT', 'text!temp/auth_template_tpl.html', 'css!style/home.css','pagina
Edit:function(){//获取
$.ajax({
'type': 'GET',
'url' : '/index/addAuth',//获取编辑数据
'url' : '/index/addAuth/',//获取编辑数据
data: {"id":auth.house_id},
dataType: "json",
success: function(data){
......
......@@ -47,7 +47,7 @@ define (['doT', 'text!temp/auth_rule_box_template_tpl.html', 'css!style/home.css
});
var id= getUrlParam('id');
$.ajax({
url: '/index/updateAuthRule/group_id/'+id,
url: '/index/updateAuthRule/'+id,
type: 'post',
async: true,
dataType: 'json',
......
......@@ -76,7 +76,7 @@ authRule={
Edit:function(){//获取
$.ajax({
'type': 'GET',
'url' : '/index/updateAuthRule/group_id/',//获取编辑数据
'url' : '/index/updateAuthRule/',//获取编辑数据
data: {"id":authRule.house_id},
dataType: "json",
success: function (data) {
......
......@@ -40,7 +40,7 @@ define (['doT', 'css!style/home.css','pagination','bootstrapJs'], function (doT,
return false;
}
$.ajax({
url: '/index/addAuth/group_id/'+id,
url: '/index/addAuth/'+id,
type: 'post',
async: true,
dataType: 'json',
......
......@@ -59,7 +59,7 @@ define (['doT', 'text!temp/get_auth_list_template_tpl.html', 'css!style/home.css
return false;
}
$.ajax({
url: '/index/saveAgent/group_id/'+id,
url: '/index/saveAgent/'+id,
type: 'post',
async: true,
dataType: 'json',
......
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