班前班后图片数据修改

main
dongdingding 9 months ago
parent f98092c64a
commit ddca07b7dc

@ -35,12 +35,12 @@ import java.util.List;
* @author wu * @author wu
* @since 2024/4/26 4:40 * @since 2024/4/26 4:40
*/ */
@RestController //@RestController
@RequestMapping("mudu/test") //@RequestMapping("mudu/test")
@Api(tags = "班前班后以及特殊作业的数据接收") //@Api(tags = "班前班后以及特殊作业的数据接收")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
//@Configuration @Configuration
//@EnableScheduling @EnableScheduling
public class BqbhTszyQuartz { public class BqbhTszyQuartz {
@Resource @Resource
@ -62,9 +62,9 @@ public class BqbhTszyQuartz {
/** /**
* *
*/ */
@GetMapping("/bqbh") // @GetMapping("/bqbh")
@ApiOperation(value = "保存班前班后数据") // @ApiOperation(value = "保存班前班后数据")
// @Scheduled(cron = "0 0 1 * * ? ") @Scheduled(cron = "0 0 1 * * ? ")
// @Scheduled(cron = "0 0/5 * * * ?") // @Scheduled(cron = "0 0/5 * * * ?")
public void saveBqbh() { public void saveBqbh() {
String res = HttpRequest.get(bqbhUrl).contentType("application/x-www-form-urlencoded;charset=UTF-8").execute().body(); String res = HttpRequest.get(bqbhUrl).contentType("application/x-www-form-urlencoded;charset=UTF-8").execute().body();

Loading…
Cancel
Save