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
35f11754
Commit
35f11754
authored
Mar 06, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error log edit
parent
c8e2cf81
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
Broker.php
application/api_broker/controller/Broker.php
+2
-2
Client.php
application/api_broker/controller/Client.php
+1
-1
Basic.php
application/api_broker/extend/Basic.php
+1
-0
Remarks.php
application/model/Remarks.php
+2
-2
Users.php
application/model/Users.php
+1
-1
No files found.
application/api_broker/controller/Broker.php
View file @
35f11754
...
...
@@ -135,7 +135,7 @@ class Broker extends Basic
}
$content
=
$params
[
'content'
];
$labels_id
=
$params
[
'labels_id'
];
$labels_id
=
empty
(
$params
[
'labels_id'
])
?
''
:
$params
[
'labels_id'
];
$user_id
=
$params
[
'user_id'
];
$agent_id
=
$params
[
'agent_id'
];
$type
=
$params
[
'type'
];
...
...
@@ -234,7 +234,7 @@ class Broker extends Basic
return
$this
->
response
(
"300"
,
"参数不全"
,
[
'remote_groupid'
=>
''
]);
}
$searchdate
=
$params
[
'searchdate'
];
$searchdate
=
empty
(
$params
[
'searchdate'
])
?
''
:
$params
[
'searchdate'
];
$pagenum
=
isset
(
$params
[
'pagenum'
])
?
$params
[
'pagenum'
]
:
1
;
$pagesize
=
15
;
$user_id
=
$params
[
'user_id'
];
...
...
application/api_broker/controller/Client.php
View file @
35f11754
...
...
@@ -44,7 +44,7 @@ class Client extends Basic
header
(
'Access-Control-Allow-Origin:*'
);
$table
=
New
Agents
();
$data
=
array
();
if
(
$this
->
params
[
'user_nick'
]
||
$this
->
params
[
'user_nick'
]
||
$this
->
params
[
'id'
]
)
{
if
(
!
empty
(
$this
->
params
[
'user_nick'
])
||
!
empty
(
$this
->
params
[
'id'
])
)
{
if
(
$this
->
request
->
isPost
())
{
if
(
!
empty
(
$this
->
params
[
'id'
]))
{
//编辑
...
...
application/api_broker/extend/Basic.php
View file @
35f11754
...
...
@@ -39,6 +39,7 @@ class Basic extends Controller
protected
$agentPhone
;
protected
$timeStamp_
;
protected
$filterVerify
=
array
(
'broker/login'
,
'broker/token'
,
'broker/getShopList'
,
'broker/getShopDetail'
,
...
...
application/model/Remarks.php
View file @
35f11754
...
...
@@ -71,8 +71,8 @@ class Remarks extends Model
->
select
();
//echo $this->getLastSql();
if
(
!
$data
){
return
$result
;
}
return
$result
;
}
/****************************处理客户电话****************************************/
foreach
(
$data
as
$k
=>
$li
)
{
$phonestr
=
htmlentities
(
trim
(
$li
[
"phpone"
]));
...
...
application/model/Users.php
View file @
35f11754
...
...
@@ -182,7 +182,7 @@ class Users extends Model
*/
public
function
edit
(
$data
,
$id
=
0
)
{
$insert_data
[
'user_nick'
]
=
$data
[
'user_nick'
];
if
(
$data
[
'user_phone'
]
){
if
(
!
empty
(
$data
[
'user_phone'
])
){
$insert_data
[
'user_phone'
]
=
$data
[
'user_phone'
];
}
$insert_data
[
'sex'
]
=
$data
[
'sex'
];
...
...
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