账号切换实现
This commit is contained in:
parent
fc51797e2d
commit
3e874211d7
|
|
@ -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("目标店铺非登录账号所有");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue