max 11 месяцев назад
Родитель
Сommit
4f6c55daac
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      frontendApi/modules/v1/controllers/ShopController.php

+ 1 - 0
frontendApi/modules/v1/controllers/ShopController.php

@@ -245,6 +245,7 @@ class ShopController extends BaseController {
             if($userInfo['IS_DEC'] == 1 && !empty($post['userName']) && $post['userName'] != $userInfo['USER_NAME']){
                 return static::notice(Yii::t('app', 'stockistDoesNotExist'), 400);
             }
+
             if(!empty($post['userName'])){
                 return static::notice(Yii::t('app', 'decUserNameIsWrong'), 400);
             }