debug 店铺删除

This commit is contained in:
墨大叔 2024-05-24 17:42:48 +08:00
parent 36d1c75a55
commit 53e2a00a62

View File

@ -65,7 +65,10 @@ public class StoreValidatorImpl extends BaseValidator implements StoreValidator
@Override
public ValidateResult preLogicDelByApp(List<Long> storeIds) {
// 基础校验
this.preLogicDel(storeIds);
ValidateResult result = this.preLogicDel(storeIds);
if (result.isError()) {
return result;
}
if (!this.isStoreBelongUser(storeIds, SecurityUtils.getUserId())) {
return error("当前店铺不属于当前用户");