@@ -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");
@@ -195,7 +195,6 @@ class OrderClass extends BaseClass
//自取订单发货按钮置灰
if ($order['sendType'] == self::SEND_TYPE_NO) {
$send['disable'] = 1;
- $print['disable'] = 1;
return [$item, $send, $selfGet, $print];