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
0f523e08
Commit
0f523e08
authored
Aug 02, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
4ffa4e3c
ced81ae5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
Client.php
application/api_broker/controller/Client.php
+3
-0
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+2
-1
Users.php
application/model/Users.php
+3
-0
followHouseUp_template_tpl.html
public/resource/template/followHouseUp_template_tpl.html
+2
-2
No files found.
application/api_broker/controller/Client.php
View file @
0f523e08
...
@@ -98,6 +98,9 @@ class Client extends Basic
...
@@ -98,6 +98,9 @@ class Client extends Basic
case
-
3
:
case
-
3
:
$this
->
code
=
101
;
$this
->
code
=
101
;
$this
->
msg
=
'没有新增VIP权限'
;
break
;
$this
->
msg
=
'没有新增VIP权限'
;
break
;
case
-
4
:
$this
->
code
=
101
;
$this
->
msg
=
'客户信息错误,请检查!'
;
break
;
}
}
}
else
{
}
else
{
...
...
application/api_broker/controller/HomePageLog.php
View file @
0f523e08
...
@@ -116,7 +116,7 @@ class HomePageLog extends Basic
...
@@ -116,7 +116,7 @@ class HomePageLog extends Basic
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$field
=
"f.id,f.house_id,f.agent_id,f.follow_up_info,f.create_time,a.name,a.img,b.store_name"
;
$field
=
"f.id,f.house_id,f.agent_id,f.follow_up_info,f.create_time,a.name,a.img,b.store_name
,c.internal_title
"
;
if
(
!
empty
(
$params
[
"search_content"
]))
{
if
(
!
empty
(
$params
[
"search_content"
]))
{
$where_
[
"f.follow_up_info"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'search_content'
])
.
"%"
);
$where_
[
"f.follow_up_info"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'search_content'
])
.
"%"
);
...
@@ -133,6 +133,7 @@ class HomePageLog extends Basic
...
@@ -133,6 +133,7 @@ class HomePageLog extends Basic
$join
=
[
$join
=
[
[
'a_agents a'
,
'a.id=f.agent_id'
,
'left'
],
[
'a_agents a'
,
'a.id=f.agent_id'
,
'left'
],
[
'a_store b'
,
'b.id=a.store_id'
,
'left'
],
[
'a_store b'
,
'b.id=a.store_id'
,
'left'
],
[
'g_houses c'
,
'f.house_id=c.id'
,
'left'
]
];
];
$order
=
"f.id desc"
;
$order
=
"f.id desc"
;
$result
=
$this
->
gHouseFollowUpModel
->
getSearch
(
$pageNo
,
$pageSize
,
$order
,
$field
,
$join
,
$where_
,
""
);
$result
=
$this
->
gHouseFollowUpModel
->
getSearch
(
$pageNo
,
$pageSize
,
$order
,
$field
,
$join
,
$where_
,
""
);
...
...
application/model/Users.php
View file @
0f523e08
...
@@ -249,6 +249,9 @@ class Users extends Model
...
@@ -249,6 +249,9 @@ class Users extends Model
$insert_data
[
'user_nick'
]
=
$data
[
'user_nick'
];
$insert_data
[
'user_nick'
]
=
$data
[
'user_nick'
];
}
}
if
(
!
empty
(
$data
[
'user_phone'
])
&&
$id
==
0
)
{
if
(
!
empty
(
$data
[
'user_phone'
])
&&
$id
==
0
)
{
if
(
strlen
(
$data
[
'user_phone'
])
!=
11
)
{
return
-
4
;
}
$insert_data
[
'user_phone'
]
=
$data
[
'user_phone'
];
$insert_data
[
'user_phone'
]
=
$data
[
'user_phone'
];
}
}
if
(
!
empty
(
$data
[
'sex'
]))
{
if
(
!
empty
(
$data
[
'sex'
]))
{
...
...
public/resource/template/followHouseUp_template_tpl.html
View file @
0f523e08
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"
store_nam
e"
]
!=
null
)
{
%
]
[
%
if
(
it
[
item
][
"
internal_titl
e"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
'
store_nam
e'
]
%
]
[
%=
it
[
item
][
'
internal_titl
e'
]
%
]
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
...
...
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