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
c2e04aab
Commit
c2e04aab
authored
May 08, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
df7f72a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SquareService.php
application/api_broker/service/SquareService.php
+2
-2
No files found.
application/api_broker/service/SquareService.php
View file @
c2e04aab
...
@@ -374,7 +374,7 @@ class SquareService
...
@@ -374,7 +374,7 @@ class SquareService
$agent
=
$this
->
redis
->
getRedisCache
(
2
,
$res
[
'agent_id'
]);
$agent
=
$this
->
redis
->
getRedisCache
(
2
,
$res
[
'agent_id'
]);
$res
[
'name'
]
=
$agent
[
'name'
];
$res
[
'name'
]
=
$agent
[
'name'
];
$res
[
'image_path'
]
=
AGENTHEADERIMGURL
.
$agent
[
'img'
];
//'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg';
$res
[
'image_path'
]
=
AGENTHEADERIMGURL
.
$agent
[
'img'
];
//用户置顶权限
//用户置顶权限
$res
[
'user_competence'
]
=
$this
->
userCompetence
(
$agent_id
);
$res
[
'user_competence'
]
=
$this
->
userCompetence
(
$agent_id
);
$res
[
'is_can_edit'
]
=
1
;
//兼容老版本 2019-04-22
$res
[
'is_can_edit'
]
=
1
;
//兼容老版本 2019-04-22
...
@@ -422,7 +422,7 @@ class SquareService
...
@@ -422,7 +422,7 @@ class SquareService
$pageNo
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$pageNo
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$pageSize
=
empty
(
$params
[
'page_size'
])
?
15
:
$params
[
'page_size'
];
$pageSize
=
empty
(
$params
[
'page_size'
])
?
15
:
$params
[
'page_size'
];
$field
=
'CommentExt.id,CommentExt.comment,CommentExt.level,CommentExt.create_time,CommentExt.agent_id_a,CommentExt.agent_id_b'
;
//
$field
=
'CommentExt.id,CommentExt.comment,CommentExt.level,CommentExt.create_time,CommentExt.agent_id_a,CommentExt.agent_id_b'
;
$get_params
[
'CommentExt.comment_id'
]
=
$params
[
'id'
];
$get_params
[
'CommentExt.comment_id'
]
=
$params
[
'id'
];
$get_params
[
'CommentExt.is_del'
]
=
0
;
$get_params
[
'CommentExt.is_del'
]
=
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