แก้ path call ฟยร
This commit is contained in:
parent
0b13d5ccf2
commit
e556eeb314
21 changed files with 60 additions and 60 deletions
|
|
@ -218,7 +218,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
var child2Id = "";
|
||||
var child3Id = "";
|
||||
var child4Id = "";
|
||||
var apiUrl = $"{_configuration["API"]}org/profile/keycloak/position";
|
||||
var apiUrl = $"{_configuration["API"]}/org/profile/keycloak/position";
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||
|
|
@ -581,7 +581,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
var child2Id = "";
|
||||
var child3Id = "";
|
||||
var child4Id = "";
|
||||
var apiUrl = $"{_configuration["API"]}org/profile/keycloak/position";
|
||||
var apiUrl = $"{_configuration["API"]}/org/profile/keycloak/position";
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||
|
|
@ -734,7 +734,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
// person.PositionSalaryAmount = req.PositionSalaryAmount;
|
||||
// person.RecruitDate = req.ReportingDate;
|
||||
|
||||
var apiUrl = $"{_configuration["API"]}org/find/all";
|
||||
var apiUrl = $"{_configuration["API"]}/org/find/all";
|
||||
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
|
|
@ -784,7 +784,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
person.posLevelId = req.posLevelId;
|
||||
person.posLevelName = req.posLevelName;
|
||||
|
||||
// apiUrl = $"{_configuration["API"]}org/profile/profileid/position/{person.profileId}";
|
||||
// apiUrl = $"{_configuration["API"]}/org/profile/profileid/position/{person.profileId}";
|
||||
// using (var client = new HttpClient())
|
||||
// {
|
||||
// client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue