b8b6c8e8 by yangjianbin

init

1 parent ae33b257
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 var targetUrl = $("#add").attr("action"); 83 var targetUrl = $("#add").attr("action");
84 var data = $("#add").serializeJson(); 84 var data = $("#add").serializeJson();
85 $.ajax({ 85 $.ajax({
86 type: 'post', 86 type: 'put',
87 url: apiBaseUrl + targetUrl, 87 url: apiBaseUrl + targetUrl,
88 cache: false, 88 cache: false,
89 data: JSON.stringify(data), 89 data: JSON.stringify(data),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!