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
f9056a43
Commit
f9056a43
authored
Jan 03, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台时间轴
parent
ba60a1f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
UserLogService.php
application/index/service/UserLogService.php
+9
-5
No files found.
application/index/service/UserLogService.php
View file @
f9056a43
...
...
@@ -170,19 +170,23 @@ class UserLogService
*/
public
function
userLog
(
$user_id
,
$site_id
,
$type
)
{
$result
=
$this
->
orderService
->
selectListByUserIdAndSiteId
(
$user_id
,
''
,
$site_id
);
switch
(
$type
){
case
1
:
$oReportModel
=
new
OReportModel
();
$field_report
=
"a.id,a.create_time,a.predict_see_time,a.intro,b.id as order_id
,b.house_id,b.house_title,c.id as agent_id,c.name,c.img"
;
return
$oReportModel
->
getReport
(
$field_report
,
[
"user_id"
=>
$user_id
]);
if
(
count
(
$result
)
>
0
){
return
$result
[
0
];
}
else
{
return
null
;
}
case
2
:
return
$
this
->
orderService
->
selectListByUserIdAndSiteId
(
$user_id
,
''
,
$site_id
)
;
return
$
result
;
default
:
return
null
;
break
;
}
}
/**
...
...
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