提供-物料-组织-供应商正式数据链接-后面要切会测试

This commit is contained in:
tongfei
2024-01-17 10:16:33 +08:00
parent 1af26cf7fc
commit 3df781f2fc

View File

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