Commit ab7bac05 by 杨树贤

修复判断字段

parent 5add41e2
Showing with 1 additions and 1 deletions
......@@ -15,7 +15,7 @@ class AppServiceProvider extends ServiceProvider
public function boot()
{
//共享全局模板变量
$orgId = !empty(request()->user->orgId) ? request()->user->orgId : 1;
$orgId = !empty(request()->user->org_id) ? request()->user->org_id : 1;
View::share('orgId', $orgId);
View::share('isIedge', $orgId == 1 ? false : true);
}
......
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