说一下这个Spring Cloud项目注意事项

ShopApiService--》ShopServiceImpl中要加控制器注释,暴露外界

@RestController //需要加此注解,否则无效
public class ShopServiceImpl implements ShopService {}

正文完