瀏覽代碼

修改platformServiceAddress

melon.yin 3 年之前
父節點
當前提交
7e8ae3298d
共有 3 個文件被更改,包括 5 次插入1 次删除
  1. 3 0
      .gitignore
  2. 1 0
      build.bat
  3. 1 1
      rpc.txt

+ 3 - 0
.gitignore

@@ -0,0 +1,3 @@
+/GeneratedCode
+/bin
+/obj

+ 1 - 0
build.bat

@@ -0,0 +1 @@
+dotnet run D:\\flutter\\server\\WingInterfaceLibrary\\src\\bin\\Debug\\net5.0 .\\GeneratedCode

+ 1 - 1
rpc.txt

@@ -45,7 +45,7 @@ class JsonRpcProxy {
   /// 平台服务
   PlatformService get platform {
     if (_platformService == null)
-      _platformService = PlatformService(platformHost);
+      _platformService = PlatformService("http://$platformHost");
     return _platformService!;
   }
 *******Separator******