From bfa52edd6a430978873367426da7b379730da411 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期二, 28 四月 2026 08:51:43 +0800
Subject: [PATCH] PLS接口优化
---
项目代码/WMS/WMSServices/WIDESEA_DTO/PLS/PlsResponseContent.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_DTO/PLS/PlsResponseContent.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_DTO/PLS/PlsResponseContent.cs"
index 3680234..7dea4ea 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_DTO/PLS/PlsResponseContent.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_DTO/PLS/PlsResponseContent.cs"
@@ -14,7 +14,7 @@
/// <summary>
/// 鐘舵�佺爜 0-鎴愬姛 1-澶辫触
/// </summary>
- public int Code { get; set; } = 0;
+ public string Code { get; set; } = "0";
/// <summary>
/// 鍝嶅簲淇℃伅
@@ -39,7 +39,7 @@
/// </summary>
public ApiResponseContent OK(string message = null)
{
- Code = 0;
+ Code = "0";
Msg = message ?? "鎴愬姛";
Data = null??"鏃�";
return this;
@@ -50,7 +50,7 @@
/// </summary>
public ApiResponseContent Error(string message = null)
{
- Code = 1;
+ Code = "1";
Msg = message ?? "澶辫触";
Data = null ?? "鏃�";
return this;
@@ -61,7 +61,7 @@
/// </summary>
public ApiResponseContent OK(List<LabelNoData> dataList, string message = null)
{
- Code = 0;
+ Code = "0";
Msg = message ?? "鎴愬姛";
Data = dataList;
return this;
--
Gitblit v1.9.3