Ver código fonte

报单中心

max 11 meses atrás
pai
commit
4f6c55daac

+ 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']){
             if($userInfo['IS_DEC'] == 1 && !empty($post['userName']) && $post['userName'] != $userInfo['USER_NAME']){
                 return static::notice(Yii::t('app', 'stockistDoesNotExist'), 400);
                 return static::notice(Yii::t('app', 'stockistDoesNotExist'), 400);
             }
             }
+
             if(!empty($post['userName'])){
             if(!empty($post['userName'])){
                 return static::notice(Yii::t('app', 'decUserNameIsWrong'), 400);
                 return static::notice(Yii::t('app', 'decUserNameIsWrong'), 400);
             }
             }