@ -145,7 +145,12 @@ class WithdrawController extends BaseController
}
$this->poolCount($dbres['pool_id']);
M("company_statement_info","tab_")->save($savedata);
$this->ajaxReturn(["msg"=>"打款成功","data"=>$dbres,"status"=>1]);
if ($savedata["pay_status"] == -1) {
$this->ajaxReturn(["msg"=>"提现失败","data"=>$dbres,"status"=>0]);
$this->ajaxReturn(["msg"=>"提现成功","data"=>$dbres,"status"=>1]);
/**
@ -326,14 +326,10 @@
dataType: "json",
data: { id:id },
success: function (result) {
if (result.status == 0) {
layer.msg(result.msg);
} else {
layer.msg('提现成功~');
setTimeout(function () {
location.reload();
}, 1000);
},
error: function () {