345
chenyc
2024-10-22 879f552947313cfc34a85e0e35fb44075e158810
app.js
@@ -141,25 +141,20 @@
                            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 = {