fix(ClientMarginConfig): 移除调试用的线程休眠代码

- 删除了 GetApplicableMarginRate 方法中的 Thread.Sleep(100000) 调试代码
- 保留了原有的保证金率获取逻辑
- 恢复了正常的接口响应流程
This commit is contained in:
hjhan
2026-03-23 11:01:21 +08:00
parent 44e8ec135c
commit 17c2a7e396
@@ -201,9 +201,8 @@ namespace YLErp.Web.Controllers
[HttpPost]
public JsonResult GetApplicableMarginRate([FromBody]GetClientMarginDetailReq req)
{
var detail= YLErp.Modules.UnderlyingModule.UnderlyingHelper.GetApplicableMarginRate(req.clientId, req.underlyingCode, req.valueDate);
Thread.Sleep(1000000000);
return JsonSuccess("",detail);
var detail = YLErp.Modules.UnderlyingModule.UnderlyingHelper.GetApplicableMarginRate(req.clientId, req.underlyingCode, req.valueDate);
return JsonSuccess("", detail);
}
private void GetExtendInfo(IEnumerable<ClientMarginConfigDto> marginConfigs)