Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
3f6988d1
Commit
3f6988d1
authored
Aug 07, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0,1
parent
e50335df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
OfficePayLog.php
application/api_broker/controller/OfficePayLog.php
+1
-1
OfficeBargain.php
application/index/controller/OfficeBargain.php
+7
-7
No files found.
application/api_broker/controller/OfficePayLog.php
View file @
3f6988d1
...
@@ -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
;
...
...
application/index/controller/OfficeBargain.php
View file @
3f6988d1
...
@@ -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
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment