Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -132,7 +132,7 @@ | @@ -132,7 +132,7 @@ | ||
| 132 | form.on('submit(submit)', function (data) { | 132 | form.on('submit(submit)', function (data) { |
| 133 | //校验 | 133 | //校验 |
| 134 | var loading = layer.load(1, {shade: [0.1, '#fff']}); | 134 | var loading = layer.load(1, {shade: [0.1, '#fff']}); |
| 135 | - $.post("{:url('addcommit')}", data.field, function (res) { | 135 | + $.post("{:url('Comment/addcommit')}", data.field, function (res) { |
| 136 | layer.close(loading); | 136 | layer.close(loading); |
| 137 | alert(res.code); | 137 | alert(res.code); |
| 138 | if (res.code == 1) { | 138 | if (res.code == 1) { |
-
Please register or login to post a comment