ShopApiService--》ShopServiceImpl中要加控制器注释,暴露外界
@RestController //需要加此注解,否则无效
public class ShopServiceImpl implements ShopService {}
正文完
ShopApiService--》ShopServiceImpl中要加控制器注释,暴露外界
@RestController //需要加此注解,否则无效
public class ShopServiceImpl implements ShopService {}