max 11 ماه پیش
والد
کامیت
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);
             }