店铺会员返回会员折扣信息
This commit is contained in:
@@ -188,7 +188,7 @@ public class UShopUserServiceImpl implements UShopUserService {
|
|||||||
@Override
|
@Override
|
||||||
public ShopUserDetailDTO getInfo(Long shopId, long userId) {
|
public ShopUserDetailDTO getInfo(Long shopId, long userId) {
|
||||||
Long mainId = shopInfoService.getMainIdByShopId(shopId);
|
Long mainId = shopInfoService.getMainIdByShopId(shopId);
|
||||||
ShopUser shopUser = shopUserService.getOne(new QueryWrapper().eq(ShopUser::getMainShopId, mainId).eq(ShopUser::getUserId, userId));
|
ShopUser shopUser = shopUserService.getShopUserInfo(mainId, shopId);
|
||||||
UserInfo userInfo = userInfoService.getById(userId);
|
UserInfo userInfo = userInfoService.getById(userId);
|
||||||
if (userInfo == null) {
|
if (userInfo == null) {
|
||||||
throw new ApiNotPrintException("用户信息不存在");
|
throw new ApiNotPrintException("用户信息不存在");
|
||||||
|
|||||||
Reference in New Issue
Block a user