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
05e2f2aa
Commit
05e2f2aa
authored
Jan 24, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user_nick 客户昵称搜索 后台
parent
1f5cab10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
ImageDepot.php
application/index/controller/ImageDepot.php
+0
-1
Member.php
application/index/controller/Member.php
+8
-1
No files found.
application/index/controller/ImageDepot.php
View file @
05e2f2aa
...
@@ -179,7 +179,6 @@ class ImageDepot extends Basic
...
@@ -179,7 +179,6 @@ class ImageDepot extends Basic
{
{
$we_chat_last_notice_lime
=
time
();
$we_chat_last_notice_lime
=
time
();
return
$this
->
response
(
"200"
,
"成功"
,
$we_chat_last_notice_lime
);
return
$this
->
response
(
"200"
,
"成功"
,
$we_chat_last_notice_lime
);
}
}
...
...
application/index/controller/Member.php
View file @
05e2f2aa
...
@@ -277,9 +277,16 @@ class Member extends Basic{
...
@@ -277,9 +277,16 @@ class Member extends Basic{
}
}
//客户姓名
//客户姓名
if
(
!
empty
(
$params
[
'user_name'
]))
{
$if_search_user
=
false
;
$where
[
'a.user_name'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_name'
]
.
'%'
];
unset
(
$where
[
'a.create_time'
]);
}
//客户昵称
if
(
!
empty
(
$params
[
'user_nick'
]))
{
if
(
!
empty
(
$params
[
'user_nick'
]))
{
$if_search_user
=
false
;
$if_search_user
=
false
;
$where
[
'a.user_n
ame
'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_nick'
]
.
'%'
];
$where
[
'a.user_n
ick
'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_nick'
]
.
'%'
];
unset
(
$where
[
'a.create_time'
]);
unset
(
$where
[
'a.create_time'
]);
}
}
...
...
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