package com.czg.service;

import com.alibaba.fastjson2.JSONObject;
import com.czg.product.dto.ProductDTO;
import com.czg.product.service.ProductService;
import com.czg.product.service.UProductService;
import com.czg.product.vo.ShopGroupProductVo;
import com.czg.product.vo.ShopProductVo;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @author yjjie
 * @date 2025/12/24 13:36
 */
@SpringBootTest
public class ProductTest {

    @Resource
    private ProductService productService;

    @Resource
    private UProductService uProductService;

    @Test
    public void testGetById() {
//        ProductDTO product = productService.getProductById(169L);
//        System.out.println(JSONObject.toJSONString( product));
    }
}
