|
@@ -333,12 +333,12 @@ class orderstatsControl extends SystemControl
|
|
|
$cid_field = 'mchid';
|
|
|
$cache_field = 'merchant';
|
|
|
} else {
|
|
|
- showMessage('类型错误!');
|
|
|
+ echo json_encode(['status' => 'fail','message' => '类型错误']);
|
|
|
}
|
|
|
|
|
|
$statType = $_POST['statType'];
|
|
|
if(empty($statType)) {
|
|
|
- showMessage('操作成功!');
|
|
|
+ echo json_encode(['status' => 'success','message' => '操作成功']);
|
|
|
}
|
|
|
|
|
|
foreach ($items as $item)
|
|
@@ -352,7 +352,7 @@ class orderstatsControl extends SystemControl
|
|
|
}
|
|
|
|
|
|
wcache('balance-cfg', [$cache_field => serialize($result)], 'refill-');
|
|
|
- showMessage('操作成功!');
|
|
|
+ echo json_encode(['status' => 'success','message' => '操作成功']);
|
|
|
}
|
|
|
|
|
|
public function balance_cfg_dataOp()
|