This commit is contained in:
tongfei
2024-01-25 09:31:54 +08:00
parent 1995328ba1
commit e5c725ae20

View File

@@ -850,8 +850,7 @@ namespace WMS.Web.Domain.Services.Public
private async Task<ResultList<ErpMaterialDto>> BillQueryForMaterialPagedList() private async Task<ResultList<ErpMaterialDto>> BillQueryForMaterialPagedList()
{ {
//2.先登录金蝶-拿到token //2.先登录金蝶-拿到token
//var token_result = await this.Init(); var token_result = await this.Init();
var token_result = await this.Init1();
if (!token_result.IsSuccess) if (!token_result.IsSuccess)
return ResultList<ErpMaterialDto>.ReFailure(token_result); return ResultList<ErpMaterialDto>.ReFailure(token_result);
@@ -920,8 +919,7 @@ namespace WMS.Web.Domain.Services.Public
private async Task<ErpMaterialDto> BillQueryForMaterialById(int id) private async Task<ErpMaterialDto> BillQueryForMaterialById(int id)
{ {
//2.先登录金蝶-拿到token //2.先登录金蝶-拿到token
//var token_result = await this.Init(); var token_result = await this.Init();
var token_result = await this.Init1();
if (!token_result.IsSuccess) if (!token_result.IsSuccess)
return null; return null;
@@ -995,8 +993,7 @@ namespace WMS.Web.Domain.Services.Public
{ {
//2.先登录金蝶-拿到token //2.先登录金蝶-拿到token
//var token_result = await this.Init(); var token_result = await this.Init();
var token_result = await this.Init1();
if (!token_result.IsSuccess) if (!token_result.IsSuccess)
return ResultList<ErpOrgDto>.ReFailure(token_result); return ResultList<ErpOrgDto>.ReFailure(token_result);
@@ -1064,8 +1061,7 @@ namespace WMS.Web.Domain.Services.Public
{ {
//2.先登录金蝶-拿到token //2.先登录金蝶-拿到token
//var token_result = await this.Init(); var token_result = await this.Init();
var token_result = await this.Init1();
if (!token_result.IsSuccess) if (!token_result.IsSuccess)
return ResultList<ErpSupplierDto>.ReFailure(token_result); return ResultList<ErpSupplierDto>.ReFailure(token_result);
@@ -1132,8 +1128,7 @@ namespace WMS.Web.Domain.Services.Public
{ {
//2.先登录金蝶-拿到token //2.先登录金蝶-拿到token
//var token_result = await this.Init(); var token_result = await this.Init();
var token_result = await this.Init1();
if (!token_result.IsSuccess) if (!token_result.IsSuccess)
return ResultList<ErpCustomerDto>.ReFailure(token_result); return ResultList<ErpCustomerDto>.ReFailure(token_result);