Merge remote-tracking branch 'origin/master'

This commit is contained in:
GYJ
2025-02-14 16:27:54 +08:00
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()));
}
}