|
|
@@ -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);
|
|
|
}
|