This commit is contained in:
PQZ 2024-10-12 12:42:57 +08:00
parent 5f079d7625
commit ac068a7472
3 changed files with 35 additions and 0 deletions

View File

@ -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);
}
/**
* 创建或更新车辆信息
*

View File

@ -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);
}

View File

@ -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) {
}
}