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
0ffe84c0
Commit
0ffe84c0
authored
Aug 03, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电话跟进优化
parent
3b236735
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
UPhoneFollowPp.php
application/model/UPhoneFollowPp.php
+21
-2
No files found.
application/model/UPhoneFollowPp.php
View file @
0ffe84c0
...
@@ -21,8 +21,27 @@ class UPhoneFollowPp extends BaseModel
...
@@ -21,8 +21,27 @@ class UPhoneFollowPp extends BaseModel
* @param $data
* @param $data
* @return int|string
* @return int|string
*/
*/
public
function
savePhoneFollow
(
$data
)
{
public
function
savePhoneFollow
(
$params
)
{
$result
=
$this
->
UPhoneFollowPp
->
insert
(
$data
);
$arr
=
[];
if
(
isset
(
$params
[
"content"
]))
{
$arr
[
"content"
]
=
$params
[
"content"
];
}
if
(
isset
(
$params
[
"labels_id"
]))
{
$arr
[
"labels_id"
]
=
$params
[
"labels_id"
];
}
if
(
isset
(
$params
[
"user_id"
]))
{
$arr
[
"user_id"
]
=
$params
[
"user_id"
];
}
if
(
isset
(
$params
[
"agent_id"
]))
{
$arr
[
"agent_id"
]
=
$params
[
"agent_id"
];
}
if
(
isset
(
$params
[
"type"
]))
{
$arr
[
"type"
]
=
$params
[
"type"
];
}
if
(
isset
(
$params
[
"user_status"
]))
{
$arr
[
"user_status"
]
=
$params
[
"user_status"
];
}
$result
=
$this
->
UPhoneFollowPp
->
insert
(
$arr
);
return
$result
;
return
$result
;
}
}
...
...
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