医保刷脸

This commit is contained in:
2025-11-04 18:04:26 +08:00
parent 649337172e
commit 7c2df09c72

View File

@@ -42,7 +42,25 @@ public class HispayController {
return Result.ok("成功", res);
} catch (Exception e) {
e.printStackTrace();
log.error("[HispayController][getPatientInfo][通过医保电子凭证获取患者信息] ERR{}", e.getMessage());
log.error("[HispayController][getUserInfoByChsCode][通过医保电子凭证获取患者信息] ERR{}", e.getMessage());
return Result.error(e.getMessage());
}
}
/**
* 通过医保电子凭证获取患者信息
*
* @return com.dpkj.common.vo.Result<?>
* @author 萧道子 2025/5/20
*/
@PostMapping("findReadCode")
public Result<?> findReadCode() {
try {
JSONObject res = hispayService.getUserInfoByChsCode();
return Result.ok("成功", res);
} catch (Exception e) {
e.printStackTrace();
log.error("[HispayController][findReadCode][通过医保电子凭证获取患者信息] ERR{}", e.getMessage());
return Result.error(e.getMessage());
}
}