parent
0b609c9787
commit
a61e37950d
@ -0,0 +1,19 @@
|
||||
package com.xht.springboot.Entity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Data
|
||||
@ToString
|
||||
public class CancerInformationProcessed {
|
||||
private int id;
|
||||
private String name;
|
||||
private String[] impact;
|
||||
private String[] summary;
|
||||
private String[] symptom;
|
||||
private String[] factor;
|
||||
private String[] judge;
|
||||
private String[] heal;
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width , initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>
|
||||
web
|
||||
</h1>
|
||||
<input type="file" id = "files">
|
||||
<img src="" alt="" id = "img">
|
||||
|
||||
<script>
|
||||
let files = document.getElementById("files");
|
||||
let img = document.getElementById("img");
|
||||
|
||||
files.onchange = function ()
|
||||
{
|
||||
console.log(URL.createObjectURL(this.files[0]));
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue