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
dfc186c5
Commit
dfc186c5
authored
Apr 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进人判断
parent
9ff95082
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Broker.php
application/api_broker/controller/Broker.php
+6
-0
Member.php
application/index/controller/Member.php
+3
-0
No files found.
application/api_broker/controller/Broker.php
View file @
dfc186c5
...
@@ -376,6 +376,9 @@ class Broker extends Basic
...
@@ -376,6 +376,9 @@ class Broker extends Basic
if
(
true
!==
$checkResult
)
{
if
(
true
!==
$checkResult
)
{
return
$this
->
response
(
"300"
,
$checkResult
);
return
$this
->
response
(
"300"
,
$checkResult
);
}
}
if
(
$params
[
'agent_id'
]
!==
$this
->
agentId
)
{
return
$this
->
response
(
"101"
,
"失败!"
);
}
$user_id
=
$params
[
'user_id'
];
$user_id
=
$params
[
'user_id'
];
...
@@ -421,6 +424,9 @@ class Broker extends Basic
...
@@ -421,6 +424,9 @@ class Broker extends Basic
if
(
true
!==
$checkResult
)
{
if
(
true
!==
$checkResult
)
{
return
$this
->
response
(
"300"
,
$checkResult
);
return
$this
->
response
(
"300"
,
$checkResult
);
}
}
if
(
$params
[
'agent_id'
]
!==
$this
->
agentId
)
{
return
$this
->
response
(
"101"
,
"失败!"
);
}
$user_id
=
$params
[
'user_id'
];
$user_id
=
$params
[
'user_id'
];
...
...
application/index/controller/Member.php
View file @
dfc186c5
...
@@ -442,6 +442,9 @@ class Member extends Basic{
...
@@ -442,6 +442,9 @@ class Member extends Basic{
if
(
empty
(
$params
[
'content'
])
||
empty
(
$params
[
'user_id'
]))
{
if
(
empty
(
$params
[
'content'
])
||
empty
(
$params
[
'user_id'
]))
{
return
$this
->
response
(
101
,
$msg
=
'缺少参数'
,
$params
);
return
$this
->
response
(
101
,
$msg
=
'缺少参数'
,
$params
);
}
}
if
(
$params
[
'agent_id'
]
!==
$this
->
userId
)
{
return
$this
->
response
(
"101"
,
"失败!"
);
}
//$params['id'] = '';
//$params['id'] = '';
$params
[
'labels_id'
]
=
0
;
$params
[
'labels_id'
]
=
0
;
...
...
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