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
9bc76526
Commit
9bc76526
authored
Aug 15, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user
parent
86e1abb3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
Remark.php
application/index/controller/Remark.php
+4
-0
footer_tpl.html
application/index/view/global/footer_tpl.html
+2
-2
GOperatingRecords.php
application/model/GOperatingRecords.php
+4
-0
No files found.
application/index/controller/Remark.php
View file @
9bc76526
...
@@ -161,6 +161,10 @@ class Remark extends Basic
...
@@ -161,6 +161,10 @@ class Remark extends Basic
public
function
useraction_search
()
public
function
useraction_search
()
{
{
header
(
'Access-Control-Allow-Origin:*'
);
header
(
'Access-Control-Allow-Origin:*'
);
if
(
empty
(
$params
[
'user_id'
]))
{
return
$this
->
response
(
101
,
'客户信息错误'
);
}
$params
=
$this
->
params
;
$params
=
$this
->
params
;
$searchdate
=
$params
[
'searchdate'
];
$searchdate
=
$params
[
'searchdate'
];
$pagenum
=
isset
(
$params
[
'pagenum'
])
?
$params
[
'pagenum'
]
:
1
;
$pagenum
=
isset
(
$params
[
'pagenum'
])
?
$params
[
'pagenum'
]
:
1
;
...
...
application/index/view/global/footer_tpl.html
View file @
9bc76526
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=12121'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=121'
charset=
'utf-8'
></script>
\ No newline at end of file
\ No newline at end of file
application/model/GOperatingRecords.php
View file @
9bc76526
...
@@ -57,6 +57,10 @@ class GOperatingRecords extends BaseModel
...
@@ -57,6 +57,10 @@ class GOperatingRecords extends BaseModel
*/
*/
public
function
user_history
(
$user_id
)
public
function
user_history
(
$user_id
)
{
{
if
(
empty
(
$user_id
))
{
return
[];
}
try
{
try
{
$data
=
$this
->
field
(
'name,remark,create_time'
)
$data
=
$this
->
field
(
'name,remark,create_time'
)
->
where
(
'user_id'
,
$user_id
)
->
where
(
'user_id'
,
$user_id
)
...
...
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