测试发布
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-04-01 17:32:37 +08:00
parent eb9bb75825
commit 65369c73bf
2 changed files with 30 additions and 30 deletions

View File

@ -29,9 +29,9 @@
}, },
"BasicSystemConfig": { "BasicSystemConfig": {
"OpenUserComplexPassword": true, "OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": false, "OpenSignDocumentBeforeWork": true,
"OpenTrialRelationDelete": true, "OpenTrialRelationDelete": true,
"OpenLoginLimit": false, "OpenLoginLimit": true,
"LoginMaxFailCount": 5, "LoginMaxFailCount": 5,
"LoginFailLockMinutes": 30, "LoginFailLockMinutes": 30,
"AutoLoginOutMinutes": 120, "AutoLoginOutMinutes": 120,

View File

@ -648,40 +648,40 @@ namespace IRaCIS.Core.Application.Service
//本地测试地址接口 //本地测试地址接口
var apiUrl = "http://192.168.40.88:8080/dock/userinfo"; //var apiUrl = "http://192.168.40.88:8080/dock/userinfo";
var headers = new Dictionary<string, string> //var headers = new Dictionary<string, string>
{ //{
{ "Content-Type", "application/json" } // 根据需要添加其他头部信息 // { "Content-Type", "application/json" } // 根据需要添加其他头部信息
}; //};
var requestData = new //var requestData = new
{ //{
token = token, // token = token,
appId = "third-hirs", // appId = "third-hirs",
}; //};
var tjUserInfo = await RestClientAPI.PostAsync<TJUserInfoDto>(apiUrl, requestData, headers); //var tjUserInfo = await RestClientAPI.PostAsync<TJUserInfoDto>(apiUrl, requestData, headers);
#endregion #endregion
#region 测试数据 #region 测试数据
//var tjUserInfo = new TJUserInfoDto var tjUserInfo = new TJUserInfoDto
//{ {
// Code = "200", Code = "200",
// Msg = "操作成功", Msg = "操作成功",
// Success = true, Success = true,
// Data = new TJUserInfoData Data = new TJUserInfoData
// { {
// UserCode = "YS10138", UserCode = "YS10138",
// UserName = "胡学梅", UserName = "胡学梅",
// DeptCode = "2121", DeptCode = "2121",
// Sex = "未知", Sex = "未知",
// Birthday = "", Birthday = "",
// Title = "", Title = "",
// UserType = "doctor", UserType = "doctor",
// Roles = new List<string> { "pm", "crc" } Roles = new List<string> { "pm", "crc" }
// } }
//}; };
#endregion #endregion