|
@@ -39,7 +39,7 @@ class Index extends BaseController
|
|
|
use_soap_error_handler(false);
|
|
|
$requestUrl = "http://112.103.134.89:10020/server.php?wsdl";
|
|
|
$options = array("trace" => 1, "cache_wsdl" => WSDL_CACHE_NONE,"exception" => 0,'location'=>'http://112.103.134.89:10020/server.php?wsdl','uri'=>'http://tempuri.org/');
|
|
|
- $client = new SoapClient($requestUrl, $options);
|
|
|
+ $client = new \SoapClient($requestUrl, $options);
|
|
|
$data = [
|
|
|
'Barcode'=>'12203310010001'
|
|
|
]; //请求参数
|