SpringBoot学习01

控制器

@Controller和@RestController用于接受和处理HTTP请求。

请求页面和数据使用@Controller,如果只请求数据使用@RestController

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

扫一扫,分享到微信

微信分享二维码
  • Copyrights © 2022-2023 Junto
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信