Commit cf199efe063f5419b8bc2be29fa5072eda9a0142

Authored by pengye
1 parent 06e5a750

no message

@@ -148,14 +148,14 @@ @@ -148,14 +148,14 @@
148 $.post("{:url('Comment/addcommit')}", data.field, function (res) { 148 $.post("{:url('Comment/addcommit')}", data.field, function (res) {
149 layer.close(loading); 149 layer.close(loading);
150 alert(JSON.stringify(res)); 150 alert(JSON.stringify(res));
151 - if (res.code == 1) { 151 + /*if (res.code == 1) {
152 layer.msg(res.msg, {time: 1000, icon: 1}, function () { 152 layer.msg(res.msg, {time: 1000, icon: 1}, function () {
153 location.href = "{:url('CommentList')}"; 153 location.href = "{:url('CommentList')}";
154 }); 154 });
155 } else { 155 } else {
156 alert(res.msg); 156 alert(res.msg);
157 layer.msg(res.msg, {time: 1000, icon: 2}); 157 layer.msg(res.msg, {time: 1000, icon: 2});
158 - } 158 + }*/
159 }); 159 });
160 }) 160 })
161 }); 161 });