修复门店获取失败

This commit is contained in:
2024-10-30 16:19:09 +08:00
parent a63913f397
commit a92daf0bf6

View File

@@ -642,8 +642,9 @@ class WareController extends BaseAdminController
public function actionExcelUpdatePrice()
{
try {
$admin = \Yii::$app->user->identity;
$request = \Yii::$app->request;
$storeId = \Yii::$app->store_id;
$storeId = $admin->store_id;
if (empty($storeId)) {
throw new Exception('店铺账号获取失败-'. $storeId);
}