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
a3f92040
Commit
a3f92040
authored
Sep 06, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否被收藏-bug
parent
6ac9d2c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Member.php
application/index/controller/Member.php
+2
-4
No files found.
application/index/controller/Member.php
View file @
a3f92040
...
...
@@ -294,12 +294,10 @@ class Member extends Basic{
//是否被收藏
$data_list
[
$k
][
"is_collect"
]
=
2
;
Log
::
write
(
$params
[
"agent_id"
],
'是否被收藏-检查-agent_id'
);
//记录日志
Log
::
write
(
$v
[
"id"
],
'是否被收藏-检查-user_id'
);
//记录日志
if
(
$params
[
"agent_id"
]
&&
$v
[
"id"
]){
if
(
$params
[
"agent_id_for_bind"
]
&&
$v
[
"id"
]){
//先判断是否已经存在数据
$field
=
'id,status'
;
$get_params
[
'agents_id'
]
=
$params
[
"agent_id"
];
$get_params
[
'agents_id'
]
=
$params
[
"agent_id
_for_bind
"
];
$get_params
[
'user_id'
]
=
$v
[
"id"
];
$collect_house
=
new
ACollectUser
();
$res
=
$collect_house
->
getCollectUser
(
$field
,
$get_params
);
...
...
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