Compare commits
No commits in common. "d933ac419753c3992f90c5c3ee25e63f52431900" and "62982407a8115c3103a2ca2059d19fd04aa9120d" have entirely different histories.
d933ac4197
...
62982407a8
@ -27,12 +27,6 @@ public class LisPluginController extends BaseController {
|
|||||||
return lisPluginService.queryfilelist();
|
return lisPluginService.queryfilelist();
|
||||||
}
|
}
|
||||||
@Anonymous
|
@Anonymous
|
||||||
@ApiOperation("重置更新时间戳")
|
|
||||||
@GetMapping("/updatefilelist")
|
|
||||||
public Result updatefilelist() {
|
|
||||||
return lisPluginService.updatefilelist();
|
|
||||||
}
|
|
||||||
@Anonymous
|
|
||||||
@ApiOperation("获取更新文件")
|
@ApiOperation("获取更新文件")
|
||||||
@GetMapping("/getfile")
|
@GetMapping("/getfile")
|
||||||
public Result getfile(String filename) {
|
public Result getfile(String filename) {
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import com.transitPlatForm.common.core.domain.Result;
|
|||||||
|
|
||||||
public interface LisPluginService {
|
public interface LisPluginService {
|
||||||
Result queryfilelist();
|
Result queryfilelist();
|
||||||
Result updatefilelist();
|
|
||||||
Result getfile(String filename);
|
Result getfile(String filename);
|
||||||
Result getdwfile(String filename);
|
Result getdwfile(String filename);
|
||||||
Result getprintlist(String printid);
|
Result getprintlist(String printid);
|
||||||
|
|||||||
@ -27,13 +27,6 @@ public class LisPluginServiceImpl implements LisPluginService {
|
|||||||
return new Result("0","成功",filelist);
|
return new Result("0","成功",filelist);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public Result updatefilelist(){
|
|
||||||
List<SysExeBak> filelist=lisPluginMapper.queryfilelist("plugin");
|
|
||||||
LisupdateUtils.clearPluginCache();
|
|
||||||
LisupdateUtils.setPluginCache("plugin",filelist);
|
|
||||||
return new Result("0","成功",filelist);
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public Result getfile(String filename){
|
public Result getfile(String filename){
|
||||||
SysExeBak file=lisPluginMapper.getfile("plugin",filename);
|
SysExeBak file=lisPluginMapper.getfile("plugin",filename);
|
||||||
if(file!=null){
|
if(file!=null){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user