提供-物料-组织-供应商正式数据链接-后面要切会测试
This commit is contained in:
@@ -850,7 +850,8 @@ 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);
|
||||||
|
|
||||||
@@ -919,7 +920,8 @@ 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;
|
||||||
|
|
||||||
@@ -983,7 +985,8 @@ 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);
|
||||||
|
|
||||||
@@ -1051,7 +1054,8 @@ 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);
|
||||||
|
|
||||||
@@ -1118,7 +1122,8 @@ 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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user