Commit 2cd44b2a by 冷斌

踢人

parent 25012e77
......@@ -111,9 +111,6 @@ class CashController extends AdminbaseController {
function edit_post(){
if(IS_POST){
if (empty($_POST['trade_no'])) {
$this->error('第三方支付订单号不能为空');
}
if($_POST['status']=='0'){
$this->error('未修改订单状态');
}
......@@ -140,6 +137,9 @@ class CashController extends AdminbaseController {
$action="修改提现记录:{$_POST['id']} - 拒绝";
}else if($_POST['status']=='1'){
if (empty($_POST['trade_no'])) {
$this->error('第三方支付订单号不能为空');
}
$action="修改提现记录:{$_POST['id']} - 同意";
}else if($_POST['status']=='0'){
$action="修改提现记录:{$_POST['id']} - 审核中";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment