Browse Source

wms接口增加了一个WMSSprayingForCSForTest方法用于手工测试

master
ruoxing.wang 1 day ago
parent
commit
b6478836da
  1. 11
      WebService/WMSWebService.asmx.cs

11
WebService/WMSWebService.asmx.cs

@ -85,6 +85,17 @@ namespace Webservice
Context.Response.Write(res); Context.Response.Write(res);
} }
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public string WMSSprayingForCSForTest(string barcode, int isOK)
{
string errorReason = string.Empty;
bool b = WMSSprayingForCS(barcode, isOK, out errorReason);
if (string.IsNullOrEmpty(errorReason))
return "true";
return errorReason;
}
/// <summary> /// <summary>
/// 调用WMS接口03 /// 调用WMS接口03
/// lx 20190610,wff2022-04-19修改,报废由0变为2 /// lx 20190610,wff2022-04-19修改,报废由0变为2

Loading…
Cancel
Save