Springboot
Springboot框架
ZLZQ_Yuan
记录学习
展开
-
springboot下添加定时任务
1.新建个包utils,在包下建这两个类:直接copy即可 package org.boot.city.utils; import org.quartz.*; import org.quartz.impl.StdSchedulerFactory; /** * @Description:定时任务工具类:新增任务,修改任务时间,删除任务,启动所有任务,停止所有任务 * @since ...原创 2020-05-02 18:08:54 · 664 阅读 · 0 评论 -
idea下Spring Boot----- 学习整理
Get传参: package com.example.springbootdemo.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; @RestController //复合标签 public class Hel...原创 2020-05-02 19:14:17 · 318 阅读 · 0 评论