初始化

master
dongzeliang 2023-11-10 20:54:27 +08:00
parent 71fa076269
commit ce4f9d7b05
3 changed files with 3 additions and 12 deletions

View File

@ -30,16 +30,6 @@ public class UserController {
@Autowired @Autowired
UserService userService; UserService userService;
@PostMapping("/login")
public Result login(){
return Result.success();
}
@PostMapping("/info")
public Result info(){
return Result.success();
}
/** /**
* *
* *

View File

@ -17,7 +17,7 @@ import java.util.List;
* @date 2023/11/9 * @date 2023/11/9
*/ */
@RestController @RestController
@RequestMapping("/vehicle") @RequestMapping("/Information")
public class VehicleController { public class VehicleController {
@Autowired @Autowired

View File

@ -9,5 +9,6 @@ create table if not exists t_user (
create table if not exists vehicle ( create table if not exists vehicle (
`id` int primary key not null , `id` int primary key not null ,
`vin` char (50) not null, `vin` char (50) not null,
`total_mileage` int not null,
`create_time` datetime not null `create_time` datetime not null
) ; ) ;