jpz
parent
3e2f582a3e
commit
a7cbc827c5
|
@ -1,4 +1,4 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
/**
|
||||
* @ClassName : UserVideoBuy
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
import io.swagger.models.auth.In;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package doctor.domain.entity;
|
||||
package doctor.system.api.domain;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public class HealthUserService {
|
|||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
if (s.equals(data.getSysUser().getPassword())){
|
||||
if (s.equals(data.getUser().getPwd())){
|
||||
Map<String, Object> token = tokenService.createToken(data);
|
||||
String accessToken = (String) token.get("access_token");
|
||||
doctorUserVo.setSessionId(accessToken);
|
||||
|
@ -44,8 +44,8 @@ public class HealthUserService {
|
|||
doctorUserVo.setJiGuangPwd(s);
|
||||
doctorUserVo.setHeadPic(data.getUser().getHeadPic());
|
||||
doctorUserVo.setSex(data.getUser().getSex());
|
||||
doctorUserVo.setHeight(data.getUser().getHeight());
|
||||
doctorUserVo.setWeight(data.getUser().getWeight());
|
||||
doctorUserVo.setHeight(Integer.valueOf(data.getUser().getHeight()));
|
||||
doctorUserVo.setWeight(Integer.valueOf(data.getUser().getWeight()));
|
||||
doctorUserVo.setFaceFlag(1);
|
||||
UUID uuid = UUID.randomUUID();
|
||||
String inviteCode = uuid.toString().replaceAll("-", "").substring(0, 8);
|
||||
|
@ -55,4 +55,5 @@ public class HealthUserService {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,9 +3,9 @@ package doctor.controller;
|
|||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import doctor.common.core.domain.R;
|
||||
import doctor.system.api.domain.Doctor;
|
||||
import doctor.system.api.domain.User;
|
||||
import doctor.service.DoctorUserService;
|
||||
import doctor.system.api.domain.SysUser;
|
||||
import doctor.system.api.domain.User;
|
||||
import doctor.system.api.model.LoginUser;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
|
Loading…
Reference in New Issue