提交 49d7e50d 编写于 作者: haowen.chen's avatar haowen.chen

feat:修改接口

上级 c6d60922
流水线 #52944 已取消 于阶段
......@@ -16,7 +16,7 @@ public interface PatHealthPackClient {
PicaResponse<Integer> getAcctIdByUnionId(@PathVariable("unionId") String unionId);
@GetMapping(value = "/account/pat-health/unionId/acctId/{acctId}")
PicaResponse<Integer> getUnionIdByAcctId(@PathVariable("acctId") Integer acctId);
PicaResponse<String> getUnionIdByAcctId(@PathVariable("acctId") Integer acctId);
@GetMapping(value = "/account/pat-health/acctId/patId/{patientId}")
PicaResponse<Integer> getAcctIdByPatId(@PathVariable("patientId") Integer patientId);
......
......@@ -40,7 +40,7 @@ public class PatHealthPackController {
@ApiOperation("获取unionId-根据主账户ID")
@GetMapping(value = "/unionId/acctId/{acctId}")
public PicaResponse<Integer> getUnionIdByAcctId(@PathVariable("acctId") Integer acctId) throws Exception {
public PicaResponse<String> getUnionIdByAcctId(@PathVariable("acctId") Integer acctId) throws Exception {
return PicaResponse.toResponse(packService.getUnionIdByAcctId(acctId));
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册