|
|
@ -147,8 +147,10 @@ public class SysLoginService
|
|
|
|
|
|
|
|
|
|
|
|
public AjaxResult loginForAppFillInfo(AppRegisterReq req) {
|
|
|
|
public AjaxResult loginForAppFillInfo(AppRegisterReq req) {
|
|
|
|
if (StringUtils.isNotEmpty(req.getMedicalLicense())) {
|
|
|
|
if (StringUtils.isNotEmpty(req.getMedicalLicense())) {
|
|
|
|
|
|
|
|
log.info("MedicalLicense is not null.");
|
|
|
|
req.setMedicalLicense(FileUploadUtils.generateImage(req.getMedicalLicense(), uploadFilePath));
|
|
|
|
req.setMedicalLicense(FileUploadUtils.generateImage(req.getMedicalLicense(), uploadFilePath));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
log.info("login for app fill info req :{}", req);
|
|
|
|
// 查询sys_user数据
|
|
|
|
// 查询sys_user数据
|
|
|
|
SysUser sysUser = userService.selectUserByPhone(req.getPhone());
|
|
|
|
SysUser sysUser = userService.selectUserByPhone(req.getPhone());
|
|
|
|
if (Objects.nonNull(sysUser)) {
|
|
|
|
if (Objects.nonNull(sysUser)) {
|
|
|
|