| | |
| | | response = { |
| | | recode: 2001, |
| | | userinfo: { |
| | | title: user.client_code, |
| | | cardID: user.code, |
| | | userNum: user.patient_no, |
| | | name: user.patient_name, |
| | | sex: user.patient_gender === 0 ? '男' : '女', |
| | | age: getAgeFromIdCard(user.patient_identity_no), |
| | | headimgurl: user.patient_avatar_icon, |
| | | imgBaseData: '', |
| | | usernum: user.patient_no, |
| | | address: user.code, |
| | | remark: '患者人脸识别111' |
| | | }, |
| | | remsg: "success" |
| | | }; |
| | | // res.json(response); |
| | | } else { |
| | | response = { |
| | | retCode: "0", |
| | | msg: "没有找到患者,请先检查患者code" |
| | | }; |
| | | // res.json(response); |
| | | } |
| | | } else { |
| | | response = { |