Commit 3f6988d1 authored by hujun's avatar hujun

0,1

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