BaseService.php
360 Bytes
<?php
namespace App\Http\Services;
//后台用户相关信息服务
use App\Model\SupplierBlacklistModel;
use App\Model\SupplierChannelModel;
use Illuminate\Support\Facades\DB;
class BaseService
{
public $orgId = 1;
public function __construct()
{
$this->orgId = !empty(request()->user->org_id) ? request()->user->org_id : 1;
}
}