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
b59783b0
Commit
b59783b0
authored
Jun 03, 2018
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
89791c52
36447825
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
Member.php
application/api/controller/Member.php
+5
-4
share_detail.html
application/app/view/index/share_detail.html
+1
-1
Users.php
application/model/Users.php
+1
-0
detaila_tl.js
public/app/js/detaila_tl.js
+2
-1
No files found.
application/api/controller/Member.php
View file @
b59783b0
...
...
@@ -263,7 +263,7 @@ class Member extends Basic
//邀请人是一级,被邀请人是二级
$referrer_user_agent_id
=
$this
->
user
->
field
(
'id,agent_id,referrer_id'
)
->
where
(
'referrer_id'
,
$referrer_
user
[
'referrer_id'
]
)
->
where
(
'referrer_id'
,
$referrer_
id
)
->
where
(
'agent_id'
,
$referrer_user
[
'agent_id'
])
->
find
();
...
...
@@ -411,12 +411,13 @@ class Member extends Basic
$data
[
'msg'
]
=
''
;
if
(
$id
)
{
$res
tult
=
$this
->
user
->
field
(
'
user_nick,user_phone,create_time'
)
$res
ult
=
$this
->
user
->
field
(
'id,
user_nick,user_phone,create_time'
)
->
where
(
'referrer_id'
,
$id
)
->
where
(
'status'
,
0
)
->
order
(
'create_time desc'
)
->
select
();
foreach
(
$res
t
ult
as
$k
=>
$v
)
{
$data_arr
=
[];
foreach
(
$result
as
$k
=>
$v
)
{
$arr
=
$v
->
getData
();
$data_arr
[
$k
][
'user_nick'
]
=
$arr
[
'user_nick'
];
$data_arr
[
$k
][
'user_phone'
]
=
hide_customer_phone
(
$arr
[
'user_phone'
]);
...
...
application/app/view/index/share_detail.html
View file @
b59783b0
...
...
@@ -196,7 +196,7 @@
<script
src=
"/app/js/swiper.js"
></script>
<script
src=
"/app/js/app_jump.js"
></script>
<script
src=
"/app/js/common.js"
charset=
"utf-8"
></script>
<script
src=
"/app/js/detaila_tl.js"
></script>
<script
src=
"/app/js/detaila_tl.js
?new1
"
></script>
<script
src=
"/app/js/Tab_min.js"
charset=
"utf-8"
></script>
</body>
</html>
application/model/Users.php
View file @
b59783b0
...
...
@@ -46,6 +46,7 @@ class Users extends Model
$data
=
$this
->
field
(
$fields
)
->
where
(
$param
)
->
order
(
'create_time desc'
)
->
select
();
return
$data
;
}
...
...
public/app/js/detaila_tl.js
View file @
b59783b0
...
...
@@ -16,7 +16,8 @@
url
:
ServerHostTempC
+
'/broker/getShopDetail'
,
data
:
{
'id'
:
_shangpuId
,
'site_area'
:
_isC
==
'1'
?
1
:
3
// 'site_area': _isC=='1'?1:3
'site_area'
:
1
},
type
:
"GET"
,
dataType
:
"json"
,
...
...
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