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