Commit 2368a994 authored by hujun's avatar hujun

type

parent 0cb44bc6
......@@ -185,6 +185,24 @@ class OfficePayLog extends Basic
// return $this->response(101, '参数错误');
// }
// $where['agent_id'] = $this->params['agent_id'];
switch ($this->params['type']) {
case 1 :
$where['status'] = 1;
break;
case 2 :
$where['status'] = 4;
break;
case 3 :
$where['status'] = 3;
break;
case 4 :
$where['status'] = 2;
break;
default :
return $this->response(101, '类型错误');
}
$field = 'id,create_time,agent_name,refund_money,order_id,pay_log_id,bank,card_no,name,remark';
$where['is_del'] = 0;
......
......@@ -193,6 +193,23 @@ class PayLog extends Basic
// return $this->response(101, '参数错误');
// }
// $where['agent_id'] = $this->params['agent_id'];
switch ($this->params['type']) {
case 1 :
$where['status'] = 1;
break;
case 2 :
$where['status'] = 4;
break;
case 3 :
$where['status'] = 3;
break;
case 4 :
$where['status'] = 2;
break;
default :
return $this->response(101, '类型错误');
}
$field = 'id,create_time,agent_name,refund_money,order_id,pay_log_id,bank,card_no,name,remark';
$where['is_del'] = 0;
......
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