店铺信息修改

This commit is contained in:
张松
2025-03-01 16:29:17 +08:00
parent 3db724435c
commit e1581a60b4
3 changed files with 9 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> i
}
@Override
public ShopDetailDTO detail(Integer id) {
public ShopDetailDTO detail(Long id) {
ShopInfo shopInfo = queryChain().eq(ShopInfo::getId, id == null ? StpKit.USER.getShopId() : id).one();
if (shopInfo == null) {
throw new ApiNotPrintException("店铺信息不存在");