Commit c1fd5392e331673f70f9cd8686409c8a455df03c

Authored by pengye
1 parent 9d4f8a2c

no message

@@ -134,7 +134,7 @@ @@ -134,7 +134,7 @@
134 var loading = layer.load(1, {shade: [0.1, '#fff']}); 134 var loading = layer.load(1, {shade: [0.1, '#fff']});
135 $.post("{:url('Comment/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); 137 + alert(JSON.stringify(res));
138 /*if (res.code == 1) { 138 /*if (res.code == 1) {
139 layer.msg(res.msg, {time: 1000, icon: 1}, function () { 139 layer.msg(res.msg, {time: 1000, icon: 1}, function () {
140 location.href = "{:url('CommentList')}"; 140 location.href = "{:url('CommentList')}";