初始化
parent
71fa076269
commit
ce4f9d7b05
|
@ -30,16 +30,6 @@ public class UserController {
|
|||
@Autowired
|
||||
UserService userService;
|
||||
|
||||
|
||||
@PostMapping("/login")
|
||||
public Result login(){
|
||||
return Result.success();
|
||||
}
|
||||
@PostMapping("/info")
|
||||
public Result info(){
|
||||
return Result.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存数据
|
||||
*
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.List;
|
|||
* @date 2023/11/9
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/vehicle")
|
||||
@RequestMapping("/Information")
|
||||
public class VehicleController {
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -7,7 +7,8 @@ create table if not exists t_user (
|
|||
) ;
|
||||
|
||||
create table if not exists vehicle (
|
||||
`id` int primary key not null ,
|
||||
`id` int primary key not null ,
|
||||
`vin` char (50) not null,
|
||||
`total_mileage` int not null,
|
||||
`create_time` datetime not null
|
||||
) ;
|
||||
|
|
Loading…
Reference in New Issue