Commit 2ff27b0f authored by clone's avatar clone

1

parent f3ae612b
...@@ -116,7 +116,7 @@ class MyCenterService{ ...@@ -116,7 +116,7 @@ class MyCenterService{
//todo 需要计算暂时没做。 //todo 需要计算暂时没做。
//$result["money_total"] = 1000; //$result["money_total"] = 1000;
$result['show_daily'] = $result['show_cost_list'] = 0; $result['show_daily'] = $result['show_cost_list'] = $result['is_banding'] = 0;
if (!empty($result['auth_group_id'])) { if (!empty($result['auth_group_id'])) {
$redis = new RedisCacheService(); $redis = new RedisCacheService();
$auth_group = $redis->getRedisCache(3, $result['auth_group_id']); $auth_group = $redis->getRedisCache(3, $result['auth_group_id']);
...@@ -131,6 +131,10 @@ class MyCenterService{ ...@@ -131,6 +131,10 @@ class MyCenterService{
if (!$is_ok) { if (!$is_ok) {
$result['show_cost_list'] = 1; //显示费用申请 $result['show_cost_list'] = 1; //显示费用申请
} }
$is_ok = $redis->checkRule($result['id'], 'index/updateDevice');
if (!$is_ok) {
$result['is_banding'] = 1; //是否有解绑绑定经纪人的权限
}
} }
return $result; return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment