瀏覽代碼

成り代わりでない場合も顧客スイッチするよう修正

develop
sosuke.iwabuchi 1 年之前
父節點
當前提交
97825efeae
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      app/Sessions/SessionUser.php

+ 4
- 0
app/Sessions/SessionUser.php 查看文件

@@ -35,6 +35,10 @@ class SessionUser
// 認証していない場合はスキップ
$this->user = Auth::user();

if ($this->user instanceof User && $this->user->customer_id) {
HtpmsCustomerConnectionSwitch::switch($this->user->customer_id);
}

$user = Auth::user();
$ckeck = Auth::check();
if ($this->user === null) {


Loading…
取消
儲存