Commit 92b810b2 by 宁成龙

线上测试

parent 1c065309
Showing with 4 additions and 0 deletions
...@@ -45,6 +45,10 @@ class TransferUserHandle extends Form implements LazyRenderable ...@@ -45,6 +45,10 @@ class TransferUserHandle extends Form implements LazyRenderable
$adminUser = "userId"; $adminUser = "userId";
$nowSaleId = getAdminUserId(); $nowSaleId = getAdminUserId();
$role = PermService::getUserRoles($nowSaleId); $role = PermService::getUserRoles($nowSaleId);
if ($nowSaleId != 1783) {
return $query;
}
var_dump($role);
if ($nowSaleId == 1000 || $role[0] == PermService::ROLE_SALE_DIRECTOR) { if ($nowSaleId == 1000 || $role[0] == PermService::ROLE_SALE_DIRECTOR) {
return $query; return $query;
} }
......
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 sign in to comment