序列化

This commit is contained in:
2025-12-18 20:14:43 +08:00
parent 6a516960bb
commit 0b9ebaaa96
2 changed files with 4 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ import java.util.stream.Collectors;
@Slf4j
@DubboService
@CacheConfig(cacheNames = "shopInfo")
public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> implements ShopInfoService {
public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> implements ShopInfoService, Serializable {
@Resource
private RabbitPublisher rabbitPublisher;
@Resource

View File

@@ -17,6 +17,8 @@ import com.mybatisflex.spring.service.impl.ServiceImpl;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;
import java.io.Serializable;
/**
* 拼团商品 服务层实现。
*
@@ -24,7 +26,7 @@ import org.springframework.stereotype.Service;
* @since 2025-12-15
*/
@Service
public class GbWareServiceImpl extends ServiceImpl<GbWareMapper, GbWare> implements GbWareService {
public class GbWareServiceImpl extends ServiceImpl<GbWareMapper, GbWare> implements GbWareService, Serializable {
@DubboReference
private ShopInfoService shopInfoService;