Browse Source

重复问题测试

master
ruoxing.wang 1 day ago
parent
commit
a194fa620b
  1. 1086
      WebService/Function.cs
  2. 17
      WebService/WMSWebService.asmx.cs

1086
WebService/Function.cs

File diff suppressed because it is too large

17
WebService/WMSWebService.asmx.cs

@ -35,7 +35,7 @@ namespace Webservice
/// lx 20190610
/// </summary>
/// <param name="barcode">条码号:A2048856739-P.190605.0008(二维码)</param>
[WebMethod]
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public void WMSSprayingForApp(string barcode)
{
@ -47,7 +47,7 @@ namespace Webservice
//model.DataList = null;
//Context.Response.Write(JSONTools.ScriptSerialize<JsonModel<NoModel>>(model));
Context.Response.ContentType = "application/json; charset=utf-8";
string errorReason = "";
JsonModel<NoModel> model = new JsonModel<NoModel>();
@ -85,16 +85,7 @@ namespace Webservice
Context.Response.Write(res);
}
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public string WMSSprayingForAppForTest(string barcode)
{
string errorReason = string.Empty;
WMSSprayingForApp(barcode);
if (string.IsNullOrEmpty(errorReason))
return "true";
return errorReason;
}
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public string WMSSprayingForCSForTest(string barcode, int isOK)
@ -412,6 +403,8 @@ namespace Webservice
//{
// WMSSprayingForAppReturnNo(barcode,"system");
//}
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public void WMSSprayingForAppReturnNo(string barcode,string userName)

Loading…
Cancel
Save