.NET4.7升级4.7。添加Redis新方法。

This commit is contained in:
2025-12-29 15:15:40 +08:00
parent 4cdf0f0f85
commit c3c6f77e9c
25 changed files with 364 additions and 221 deletions

View File

@@ -689,7 +689,7 @@ namespace WebServer.ServiceReference1 {
}
public bool CheckIn2(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, ref long checkInID, string phoneNumber, string idNumber) {
CheckIn2Request inValue = new CheckIn2Request();
WebServer.ServiceReference1.CheckIn2Request inValue = new WebServer.ServiceReference1.CheckIn2Request();
inValue.Body = new WebServer.ServiceReference1.CheckIn2RequestBody();
inValue.Body.key = key;
inValue.Body.code = code;
@@ -700,7 +700,7 @@ namespace WebServer.ServiceReference1 {
inValue.Body.checkInID = checkInID;
inValue.Body.phoneNumber = phoneNumber;
inValue.Body.idNumber = idNumber;
CheckIn2Response retVal = ((WebServer.ServiceReference1.blwwsSoap)(this)).CheckIn2(inValue);
WebServer.ServiceReference1.CheckIn2Response retVal = ((WebServer.ServiceReference1.blwwsSoap)(this)).CheckIn2(inValue);
errorMsg = retVal.Body.errorMsg;
checkInID = retVal.Body.checkInID;
return retVal.Body.CheckIn2Result;
@@ -732,7 +732,7 @@ namespace WebServer.ServiceReference1 {
}
public bool UploadPhoto(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, ref string errorMsg) {
UploadPhotoRequest inValue = new UploadPhotoRequest();
WebServer.ServiceReference1.UploadPhotoRequest inValue = new WebServer.ServiceReference1.UploadPhotoRequest();
inValue.Body = new WebServer.ServiceReference1.UploadPhotoRequestBody();
inValue.Body.key = key;
inValue.Body.code = code;

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WebServer</RootNamespace>
<AssemblyName>WebServer</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />

View File

@@ -10,4 +10,4 @@
<endpoint address="http://pms.boonlive-rcu.com:89/blwws.asmx" binding="basicHttpBinding" bindingConfiguration="blwwsSoap" contract="ServiceReference1.blwwsSoap" name="blwwsSoap"/>
</client>
</system.serviceModel>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>