Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
77bb47f7b8
1 changed files with 5 additions and 2 deletions
  1. 5 2
      service/gdyb_service.go

+ 5 - 2
service/gdyb_service.go View File

@@ -66,9 +66,12 @@ func Gdyb1201(certNo string, org_name string, doctor string, fixmedins_code stri
66 66
 	unknown, _ := oleutil.CreateObject("yinhai.yh_hb_sctr")
67 67
 	xmlhttp, _ := unknown.QueryInterface(ole.IID_IDispatch)
68 68
 	var str3 string
69
-	oleutil.CallMethod(xmlhttp, "yh_hb_call", "1201", string(bytesData), str3)
69
+	result, _ := oleutil.CallMethod(xmlhttp, "yh_hb_call", "1201", string(bytesData), str3)
70 70
 	fmt.Println("~~~~~~~~")
71
-	fmt.Println(str3)
71
+	fmt.Println(result)
72
+	fmt.Println(result.ToString())
73
+	fmt.Println(result.Value())
74
+
72 75
 	fmt.Println("~~~~~~~~")
73 76
 	//fmt.Println("~~~~~~~~")
74 77
 	//fmt.Println(xmlhttp)