Browse Source

xg数据库

刘桂岩 3 years ago
parent
commit
2a2f82b11e
2 changed files with 3 additions and 3 deletions
  1. 1 1
      .env
  2. 2 2
      app/controller/Index.php

+ 1 - 1
.env

@@ -1 +1 @@
-APP_DEBUG = true

[APP]
DEFAULT_TIMEZONE = Asia/Shanghai

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1
DATABASE = tijianzhongxin
USERNAME = root
PASSWORD =
HOSTPORT = 3306
CHARSET = utf8
DEBUG = true

[LANG]
default_lang = zh-cn
+APP_DEBUG = true

[APP]
DEFAULT_TIMEZONE = Asia/Shanghai

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1
DATABASE = pacscenter
USERNAME = root
PASSWORD =123456
HOSTPORT = 3306
CHARSET = utf8
DEBUG = true

[LANG]
default_lang = zh-cn

+ 2 - 2
app/controller/Index.php

@@ -21,9 +21,9 @@ class Index extends BaseController
     public function getReport()
     {
         use_soap_error_handler(false);
-        $client = new \SoapClient('http://localhost:8085/server.php?wsdl');   //请求的ip localhost:8085为本机测试
+        $client = new \SoapClient('http://112.103.134.89:10020/server.php?wsdl');   //请求的ip localhost:8085为本机测试
         $data = [
-            'Barcode'=>'122030200248721'
+            'Barcode'=>'12203310010001'
         ];   //请求参数
         $a2x = new array2xml();
         $data = $a2x->toXml($data);     //参数转xml