|
|
@ -23,9 +23,12 @@ import com.elink.esua.epdc.dto.project.form.ProjectListFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.project.form.ProjectScoreFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.form.PsychologistFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.form.PsychologistInfoFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.form.PsychologyAnswerFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.form.PsychologyQuestionFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.result.PsychologistInfoResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.result.PsychologistResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.result.PsychologyAnswerListResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.psychology.result.PsychologyAnswerListUserResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.topic.form.TopicCloseFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.topic.form.TopicListFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.topic.form.TopicSubmitFormDTO; |
|
|
@ -385,7 +388,7 @@ public class ApiPropertyController { |
|
|
|
* @author zhangyuan |
|
|
|
* @date 2020/6/8 09:17 |
|
|
|
*/ |
|
|
|
@GetMapping("psychology/listPsychiatrist") |
|
|
|
@GetMapping("psychology/psychologistInfo") |
|
|
|
public Result<PsychologistInfoResultDTO> psychologistInfo(@LoginUser TokenDto userDetail, PsychologistInfoFormDTO formDto) { |
|
|
|
return propertyService.psychologistInfo(userDetail, formDto); |
|
|
|
} |
|
|
@ -402,4 +405,30 @@ public class ApiPropertyController { |
|
|
|
public Result submitQuestion(@LoginUser TokenDto userDetail, @RequestBody PsychologyQuestionFormDTO formDto) { |
|
|
|
return propertyService.submitQuestion(userDetail, formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 居民端-心理咨询-我的问题列表 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result < PsychologyAnswerListUserResultDTO > |
|
|
|
* @params [userDetail, formDto] |
|
|
|
* @author liuchuang |
|
|
|
* @since 2019/10/22 15:33 |
|
|
|
*/ |
|
|
|
@GetMapping("psychology/listUserQuestion") |
|
|
|
public Result<PsychologyAnswerListUserResultDTO> listUserQuestion(@LoginUser TokenDto userDetail, @RequestBody PsychologyAnswerFormDTO formDto) { |
|
|
|
return propertyService.listUserQuestion(userDetail, formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 居民端-心理咨询-我的问题列表 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result < PsychologyAnswerListResultDTO > |
|
|
|
* @params [userDetail, formDto] |
|
|
|
* @author liuchuang |
|
|
|
* @since 2019/10/22 15:33 |
|
|
|
*/ |
|
|
|
@GetMapping("psychology/listQuestion") |
|
|
|
public Result<PsychologyAnswerListResultDTO> listQuestion(@LoginUser TokenDto userDetail, @RequestBody PsychologyAnswerFormDTO formDto) { |
|
|
|
return propertyService.listQuestion(userDetail, formDto); |
|
|
|
} |
|
|
|
} |
|
|
|