账号切换实现
This commit is contained in:
@@ -193,7 +193,7 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
||||
throw new ApiNotPrintException("店铺信息不存在");
|
||||
}
|
||||
|
||||
if (!shopInfo.getMainId().equals(headId)) {
|
||||
if ((headId != null && !shopInfo.getMainId().equals(headId)) || !shopInfo.getMainId().equals(shopId)) {
|
||||
throw new ApiNotPrintException("目标店铺非登录账号所有");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user