|
|
@@ -222,6 +222,7 @@ class AuthController extends PublicController
|
|
|
if (!empty($currentShopId)) {
|
|
|
$shopAdmin = ShopAdminClass::getByCondition(['shopId' => $currentShopId, 'adminId' => $adminId], true);
|
|
|
if (empty($shopAdmin)) {
|
|
|
+ Yii::info('没有找到员工哦 adminId:' . $adminId);
|
|
|
util::fail('没有找到员工哦');
|
|
|
}
|
|
|
$shopAdmin->lastLogin = date("Y-m-d H:i:s");
|