小程序获取店铺会员信息修改

This commit is contained in:
张松
2025-02-14 16:19:43 +08:00
parent a4f89151f4
commit c667d1fa09
3 changed files with 22 additions and 1 deletions

View File

@@ -26,6 +26,6 @@ public class UShopUserController {
*/
@GetMapping
public CzgResult<ShopUser> get() {
return CzgResult.success(shopUserService.queryChain().eq(ShopUser::getShopId, StpKit.USER.getShopId()).eq(ShopUser::getId, StpKit.USER.getLoginIdAsLong()).one());
return CzgResult.success(shopUserService.getShopUserInfo(StpKit.USER.getShopId(), StpKit.USER.getLoginIdAsLong()));
}
}