确定合同功能模式

This commit is contained in:
huangdeliang
2020-10-26 00:46:16 +08:00
parent 378b6ef815
commit 8b93c763c3
6 changed files with 114 additions and 84 deletions

View File

@ -91,8 +91,15 @@ public class SysContractController extends BaseController {
@GetMapping("/file/{id}")
public String getContract(@PathVariable long id) {
return redirect("/swagger-ui.html");
public AjaxResult getfile(@PathVariable long id) {
try {
AjaxResult ajax = AjaxResult.success();
// ajax.put("url", "/login");
ajax.put("data", id);
return ajax;
} catch (Exception e) {
return AjaxResult.error(e.getMessage());
}
}
/**