Browse Source

医生签约

trick9191 8 years ago
parent
commit
d5fb1c9171

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/doctor/sign/DoctorFamilyContractController.java

@ -697,7 +697,7 @@ public class DoctorFamilyContractController extends WeixinBaseController {
     */
    @RequestMapping(value = "/patient_signing")
    @ResponseBody
    public String getSigningPatientInfo(String patient) {
    public String getSigningPatientInfo(@RequestParam String patient) {
        try {
            Patient temp = patientInfoService.findByCode(patient);
            if (temp != null) {

+ 8 - 0
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/family/FamilyMemberController.java

@ -2,6 +2,7 @@ package com.yihu.wlyy.web.patient.family;
import com.yihu.wlyy.service.app.family.FamilyMemberService;
import com.yihu.wlyy.task.PushMsgTask;
import com.yihu.wlyy.util.MD5;
import com.yihu.wlyy.web.WeixinBaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -337,4 +338,11 @@ public class FamilyMemberController extends WeixinBaseController {
        String openId = getOpenidByCode(code);
        return write(200, openId);
    }
    @RequestMapping(value = "/getPw", method = RequestMethod.POST)
    @ApiOperation(value = "获取密码")
    public String getPw(@RequestParam("pw")String pw){
        String loginPassword = MD5.GetMD5Code(pw + "1");
        return write(200,loginPassword);
    }
}