刘桂岩 3 лет назад
Родитель
Сommit
122bcf5e73
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/controller/Index.php

+ 1 - 1
app/controller/Index.php

@@ -32,7 +32,7 @@ class Index extends BaseController
             )
         );
         $streamContext = stream_context_create($opts);
-        $client = new SoapClient("http://112.103.134.89:10020/server.php?wsdl",
+        $client = new \SoapClient("http://112.103.134.89:10020/server.php?wsdl",
             array(
                 'stream_context'    => $streamContext
             ));