1
This commit is contained in:
parent
5f079d7625
commit
ac068a7472
@ -30,6 +30,21 @@ public class UserCarController {
|
||||
return CommonResult.success(userCarService.getMyCar());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 授权个人信息到某企业
|
||||
* @author PQZ
|
||||
* @date 11:49 2024/10/12
|
||||
**/
|
||||
@GetMapping("/empowerUserInfo")
|
||||
@Operation(summary = "授权个人信息到某企业")
|
||||
public CommonResult<?> empowerUserInfo(@RequestParam("tenantId") String tenantId) {
|
||||
userCarService.empowerUserInfo(tenantId);
|
||||
return CommonResult.success(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 创建或更新车辆信息
|
||||
*
|
||||
|
@ -40,4 +40,12 @@ public interface UserCarService extends IService<UserCar> {
|
||||
* @return java.lang.Object
|
||||
**/
|
||||
Object vehicleLicenseOCR(String imagePath) throws TencentCloudSDKException;
|
||||
|
||||
/**
|
||||
* 将客户信息授权给某个修理厂
|
||||
* @author PQZ
|
||||
* @date 12:40 2024/10/12
|
||||
* @param tenantId 租户id
|
||||
**/
|
||||
void empowerUserInfo(String tenantId);
|
||||
}
|
@ -80,4 +80,16 @@ public class UserCarServiceImpl extends ServiceImpl<UserCarMapper, UserCar> impl
|
||||
}
|
||||
return licenseVO;
|
||||
}
|
||||
|
||||
/**
|
||||
* 将客户信息授权给某个修理厂
|
||||
*
|
||||
* @param tenantId 租户id
|
||||
* @author PQZ
|
||||
* @date 12:40 2024/10/12
|
||||
**/
|
||||
@Override
|
||||
public void empowerUserInfo(String tenantId) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user