医保刷脸
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user