mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-08 13:16:41 +08:00
reload 重命名
This commit is contained in:
parent
daa7f47d23
commit
da046ba20e
@ -18,7 +18,7 @@ public class SwaggerTagConst {
|
||||
|
||||
public static final String ID_GENERATOR = "基础-ID生成器";
|
||||
|
||||
public static final String SMART_RELOAD = "基础-Reload";
|
||||
public static final String RELOAD = "基础-Reload";
|
||||
|
||||
public static final String TASK_SCHEDULER = "基础-任务调度";
|
||||
|
||||
|
@ -19,27 +19,27 @@ import java.util.List;
|
||||
* @author 开云
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = {SwaggerTagConst.Support.SMART_RELOAD})
|
||||
public class SmartReloadController extends SupportBaseController {
|
||||
@Api(tags = {SwaggerTagConst.Support.RELOAD})
|
||||
public class ReloadController extends SupportBaseController {
|
||||
|
||||
@Autowired
|
||||
private SmartReloadService smartReloadService;
|
||||
private ReloadService reloadService;
|
||||
|
||||
@ApiOperation(value = "查询reload列表 by 开云")
|
||||
@GetMapping("/reload/query")
|
||||
public ResponseDTO<List<ReloadItemVO>> query() {
|
||||
return smartReloadService.query();
|
||||
return reloadService.query();
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取reload result by 开云")
|
||||
@GetMapping("/smartReload/result/{tag}")
|
||||
@GetMapping("/reload/result/{tag}")
|
||||
public ResponseDTO<List<ReloadResultVO>> queryReloadResult(@PathVariable("tag") String tag) {
|
||||
return smartReloadService.queryReloadItemResult(tag);
|
||||
return reloadService.queryReloadItemResult(tag);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "通过tag更新标识 by 开云")
|
||||
@PostMapping("/smartReload/update")
|
||||
@PostMapping("/reload/update")
|
||||
public ResponseDTO<String> updateByTag(@RequestBody @Valid ReloadItemUpdateDTO updateDTO) {
|
||||
return smartReloadService.updateByTag(updateDTO);
|
||||
return reloadService.updateByTag(updateDTO);
|
||||
}
|
||||
}
|
@ -20,7 +20,7 @@ import java.util.List;
|
||||
* @author 开云
|
||||
*/
|
||||
@Service
|
||||
public class SmartReloadService {
|
||||
public class ReloadService {
|
||||
|
||||
@Autowired
|
||||
private ReloadItemDao reloadItemDao;
|
Loading…
Reference in New Issue
Block a user