shopUser 接口
This commit is contained in:
@@ -140,10 +140,6 @@ public class ShopUser implements Serializable {
|
|||||||
|
|
||||||
@Column(onInsertValue = "now()", onUpdateValue = "now()")
|
@Column(onInsertValue = "now()", onUpdateValue = "now()")
|
||||||
private LocalDateTime updateTime;
|
private LocalDateTime updateTime;
|
||||||
/**
|
|
||||||
* 已经合并过来的用户信息,jsonArray格式,[{"id":1,"shopId":2,...},{"id":1,"shopId":2,...}]
|
|
||||||
*/
|
|
||||||
private String mergedUsers;
|
|
||||||
|
|
||||||
private Long memberLevelId;
|
private Long memberLevelId;
|
||||||
|
|
||||||
|
|||||||
@@ -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.getShopUserInfo(mainId, shopId);
|
ShopUser shopUser = shopUserService.getShopUserInfo(mainId, userId);
|
||||||
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