Procházet zdrojové kódy

没有找到员工提示

shish před 5 roky
rodič
revize
1cbfdb12de

+ 1 - 0
app-ghs/controllers/AuthController.php

@@ -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");

+ 0 - 1
biz-ghs/order/classes/OrderClass.php

@@ -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];