45
chenyc
2024-12-22 ef98fd01a5fd839e041f49b1c6e09f77ba00c9c4
app.js
@@ -295,9 +295,10 @@
            const response = {
                result:[ {
                    patientId: user.code,
                    fullName: user.patient_name,
                    name: user.patient_name,
                    gender: user.patient_gender,
                    age: getAgeFromIdCard(user.patient_identity_no),
                    birthday:'',
                    phoneNum:user.patient_mobile,
                    address: user.patient_avatar_icon,
                    idType: user.patient_identity_type,
@@ -336,7 +337,9 @@
 * PostCheckExam  病人信息及检测结果以JSON的形式回传至服务器
 */
app.post('/PostCheckExam',async(req,res)=>{
    const mode=req.body
    // 查看body参数
    const body=req.body
    if(mode){
        logHttps(mode)
    }else{