用户列表修改
This commit is contained in:
@@ -47,7 +47,7 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
|
|||||||
@Resource
|
@Resource
|
||||||
private RedisService redisService;
|
private RedisService redisService;
|
||||||
|
|
||||||
private ShopUser getUserInfo(Long shopUserId, Long shopId) {
|
private ShopUser getUserInfo(Long shopId, Long shopUserId) {
|
||||||
ShopUser shopUser = queryChain().eq(ShopUser::getShopId, shopId).eq(ShopUser::getId, shopUserId).one();
|
ShopUser shopUser = queryChain().eq(ShopUser::getShopId, shopId).eq(ShopUser::getId, shopUserId).one();
|
||||||
if (shopUser == null) {
|
if (shopUser == null) {
|
||||||
throw new ApiNotPrintException("用户信息不存在");
|
throw new ApiNotPrintException("用户信息不存在");
|
||||||
|
|||||||
Reference in New Issue
Block a user