debug 店铺删除
This commit is contained in:
parent
36d1c75a55
commit
53e2a00a62
|
@ -65,7 +65,10 @@ public class StoreValidatorImpl extends BaseValidator implements StoreValidator
|
||||||
@Override
|
@Override
|
||||||
public ValidateResult preLogicDelByApp(List<Long> storeIds) {
|
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())) {
|
if (!this.isStoreBelongUser(storeIds, SecurityUtils.getUserId())) {
|
||||||
return error("当前店铺不属于当前用户");
|
return error("当前店铺不属于当前用户");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user