|
...
|
...
|
@@ -133,11 +133,11 @@ |
|
|
|
//校验
|
|
|
|
|
|
|
|
var loading = layer.load(1, {shade: [0.1, '#fff']});
|
|
|
|
$.post("{:url('sellerconfig')}", data.field, function (res) {
|
|
|
|
$.post("{:url('addcommit')}", data.field, function (res) {
|
|
|
|
layer.close(loading);
|
|
|
|
if (res.code == 1) {
|
|
|
|
layer.msg(res.msg, {time: 1000, icon: 1}, function () {
|
|
|
|
location.href = "{:url('sellerList')}";
|
|
|
|
location.href = "{:url('CommentList')}";
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
layer.msg(res.msg, {time: 1000, icon: 2});
|
...
|
...
|
|