修复门店获取失败
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user