feat: 获取乘客用户信息
This commit is contained in:
parent
f2bc1c8e21
commit
cc661b8e19
|
@ -18,5 +18,4 @@ public class AuthContextHolder {
|
|||
public static void removeUserId() {
|
||||
userId.remove();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.*;
|
|||
@Slf4j
|
||||
@Tag(name = "司机API接口管理")
|
||||
@RestController
|
||||
@RequestMapping(value="/driver/info")
|
||||
@RequestMapping(value = "/driver/info")
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
public class DriverInfoController {
|
||||
|
||||
|
@ -44,7 +44,7 @@ public class DriverInfoController {
|
|||
return Result.ok(driverAuthInfoVo);
|
||||
}
|
||||
|
||||
//更新司机认证信息
|
||||
// 更新司机认证信息
|
||||
@Operation(summary = "更新司机认证信息")
|
||||
@PostMapping("/updateDriverAuthInfo")
|
||||
public Result<Boolean> updateDriverAuthInfo(@RequestBody UpdateDriverAuthInfoForm updateDriverAuthInfoForm) {
|
||||
|
@ -52,7 +52,7 @@ public class DriverInfoController {
|
|||
return Result.ok(isSuccess);
|
||||
}
|
||||
|
||||
//创建司机人脸模型
|
||||
// 创建司机人脸模型
|
||||
@Operation(summary = "创建司机人脸模型")
|
||||
@PostMapping("/creatDriverFaceModel")
|
||||
public Result<Boolean> creatDriverFaceModel(@RequestBody DriverFaceModelForm driverFaceModelForm) {
|
||||
|
@ -78,7 +78,6 @@ public class DriverInfoController {
|
|||
return Result.ok(driverInfoService.verifyDriverFace(driverFaceModelForm));
|
||||
}
|
||||
|
||||
//更新接单状态
|
||||
@Operation(summary = "更新接单状态")
|
||||
@GetMapping("/updateServiceStatus/{driverId}/{status}")
|
||||
public Result<Boolean> updateServiceStatus(@PathVariable Long driverId, @PathVariable Integer status) {
|
||||
|
|
Loading…
Reference in New Issue