|
|
@@ -601,10 +601,11 @@
|
|
|
function settlement(match_id,type){
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
- dataType: 'text',
|
|
|
+ dataType: 'json',
|
|
|
url: '/admin/Sportsfoot/Settlement',
|
|
|
data: {match_id:match_id,type:type},
|
|
|
success: function(data) {
|
|
|
+ // aler(data);
|
|
|
if(data.status==1){
|
|
|
layer.msg(data.msg);
|
|
|
location. reload()//刷新当前页面
|