05e94139 by wang

init

1 parent 8d6e05e5
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
99 // return false; 99 // return false;
100 $.ajax({ 100 $.ajax({
101 type: 'put', 101 type: 'put',
102 url: apiBaseUrl + targetUrl+$("input[name='id']").val(), 102 url: apiBaseUrl + targetUrl+'/'+$("input[name='id']").val(),
103 cache: false, 103 cache: false,
104 data: JSON.stringify(newData), 104 data: JSON.stringify(newData),
105 dataType: 'json', 105 dataType: 'json',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!