|
@ -441,13 +441,13 @@ public class FamilyContractController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "sign")
|
|
|
@ResponseBody
|
|
|
public String sign(String doctor) {
|
|
|
public String sign(String doctor,String patient) {
|
|
|
try {
|
|
|
if (StringUtils.isEmpty(doctor)) {
|
|
|
return error(-1, "签约医生不能为空");
|
|
|
}
|
|
|
|
|
|
int result = familyContractService.sign(doctor, getUID());
|
|
|
int result = familyContractService.sign(doctor,patient);
|
|
|
|
|
|
if (result == -1) {
|
|
|
return error(-1, "用户信息查询失败");
|