|
@ -123,4 +123,12 @@ public class HealthCareEndPoint extends EnvelopRestEndpoint {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareService.getYlzToken());
|
|
|
}
|
|
|
|
|
|
|
|
|
@PostMapping(value = "/authorized")
|
|
|
@ApiOperation(value = "渠道应用是否已授权", notes = "渠道应用是否已授权")
|
|
|
public ObjEnvelop authorized(@ApiParam(name = "patient", value = "患者id", required = true)
|
|
|
@RequestParam(value = "patient", required = true)String patient)throws Exception{
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareService.authorized(patient));
|
|
|
}
|
|
|
|
|
|
}
|