Commit 3f6988d1 authored by hujun's avatar hujun

0,1

parent e50335df
...@@ -188,7 +188,7 @@ class OfficePayLog extends Basic ...@@ -188,7 +188,7 @@ class OfficePayLog extends Basic
switch ($this->params['type']) { switch ($this->params['type']) {
case 1 : case 1 :
$where['status'] = 1; $where['status'] = ['in', '0,1'];
break; break;
case 2 : case 2 :
$where['status'] = 4; $where['status'] = 4;
......
...@@ -577,14 +577,14 @@ class OfficeBargain extends Basic ...@@ -577,14 +577,14 @@ class OfficeBargain extends Basic
return $this->response(101, '参数错误'); return $this->response(101, '参数错误');
} }
$m_report = new OfficeOReportModel(); // $m_report = new OfficeOReportModel();
$m_user = new Users(); // $m_user = new Users();
$user_id = $m_report->getFieldValue('user_id', ['id'=>$report_id]); // $user_id = $m_report->getFieldValue('user_id', ['id'=>$report_id]);
$id = $m_user->getUserByWhereValue('id', ['id'=>$user_id,'referrer_source'=>10,'status'=>0]); // $id = $m_user->getUserByWhereValue('id', ['id'=>$user_id,'referrer_source'=>10,'status'=>0]);
$is_show = 0; $is_show = 0;
if ($id) { // if ($id) {
$is_show = 1; // $is_show = 1;
} // }
return $this->response(200,'', ['is_show'=>$is_show]); return $this->response(200,'', ['is_show'=>$is_show]);
} }
......
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