From e5c725ae201e7a76d0cbe25f2d5072f68bd61297 Mon Sep 17 00:00:00 2001 From: tongfei <244188119@qq.com> Date: Thu, 25 Jan 2024 09:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Domain/Services/Public/ErpService.cs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/WMS.Web.Domain/Services/Public/ErpService.cs b/src/WMS.Web.Domain/Services/Public/ErpService.cs index 1dab04a6..bd994613 100644 --- a/src/WMS.Web.Domain/Services/Public/ErpService.cs +++ b/src/WMS.Web.Domain/Services/Public/ErpService.cs @@ -850,8 +850,7 @@ namespace WMS.Web.Domain.Services.Public private async Task> BillQueryForMaterialPagedList() { //2.先登录金蝶-拿到token - //var token_result = await this.Init(); - var token_result = await this.Init1(); + var token_result = await this.Init(); if (!token_result.IsSuccess) return ResultList.ReFailure(token_result); @@ -920,8 +919,7 @@ namespace WMS.Web.Domain.Services.Public private async Task BillQueryForMaterialById(int id) { //2.先登录金蝶-拿到token - //var token_result = await this.Init(); - var token_result = await this.Init1(); + var token_result = await this.Init(); if (!token_result.IsSuccess) return null; @@ -995,8 +993,7 @@ namespace WMS.Web.Domain.Services.Public { //2.先登录金蝶-拿到token - //var token_result = await this.Init(); - var token_result = await this.Init1(); + var token_result = await this.Init(); if (!token_result.IsSuccess) return ResultList.ReFailure(token_result); @@ -1064,8 +1061,7 @@ namespace WMS.Web.Domain.Services.Public { //2.先登录金蝶-拿到token - //var token_result = await this.Init(); - var token_result = await this.Init1(); + var token_result = await this.Init(); if (!token_result.IsSuccess) return ResultList.ReFailure(token_result); @@ -1132,8 +1128,7 @@ namespace WMS.Web.Domain.Services.Public { //2.先登录金蝶-拿到token - //var token_result = await this.Init(); - var token_result = await this.Init1(); + var token_result = await this.Init(); if (!token_result.IsSuccess) return ResultList.ReFailure(token_result);