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
69bcad24
Commit
69bcad24
authored
Mar 05, 2018
by
zfc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加客户提示修改
parent
dd71bf6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
Client.php
application/api_broker/controller/Client.php
+4
-8
No files found.
application/api_broker/controller/Client.php
View file @
69bcad24
...
@@ -52,20 +52,16 @@ class Client extends Basic
...
@@ -52,20 +52,16 @@ class Client extends Basic
}
else
{
}
else
{
//添加
//添加
$data
[
'start'
]
=
$this
->
user
->
edit
(
$this
->
params
);
$data
[
'start'
]
=
$this
->
user
->
edit
(
$this
->
params
);
if
(
$data
[
'start'
]
==
-
1
)
{
if
(
$data
[
'start'
]
!=
1
)
{
$this
->
code
=
101
;
$this
->
code
=
101
;
$this
->
msg
=
'该用户已存在'
;
$this
->
msg
=
'该客户手机号已存在于系统内'
;
}
}
else
{
if
(
$data
[
'start'
]
==
1
){
$data
[
'id'
]
=
$this
->
user
->
id
;
$data
[
'id'
]
=
$this
->
user
->
id
;
$this
->
operating_records
(
$this
->
params
[
'ccr_id'
],
$type
=
3
,
$remark
=
'用户添加'
,
0
,
$data
[
'id'
]);
$this
->
operating_records
(
$this
->
params
[
'ccr_id'
],
$type
=
3
,
$remark
=
'用户添加'
,
0
,
$data
[
'id'
]);
}
else
{
$this
->
code
=
101
;
$this
->
msg
=
'提交重复!'
;
}
}
}
}
}
else
{
}
else
{
$data
[
'start'
]
=
$this
->
user
->
getClient
(
$this
->
params
[
'id'
]);
$data
[
'start'
]
=
$this
->
user
->
getClient
(
$this
->
params
[
'id'
]);
...
...
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