|
@@ -25,9 +25,7 @@ class DiAn extends BaseController
|
|
|
$obj = simplexml_load_string($xml,"SimpleXMLElement", LIBXML_NOCDATA);
|
|
|
$conn = mysqli_connect('127.0.0.1','root','123456');
|
|
|
$a = mysqli_select_db($conn,'pacscenter');
|
|
|
- return 3;
|
|
|
- $sql = "select * from dianApiInfo where Barcode='$obj'";
|
|
|
- return $sql;
|
|
|
+ $sql = "select * from dianapiinfo where Barcode='$obj'";
|
|
|
$result = mysqli_query($conn, $sql);
|
|
|
$info = mysqli_fetch_row($result);
|
|
|
if(!empty($info))
|