|
@@ -92,13 +92,13 @@ func Gdyb1201(certNo string, org_name string, doctor string, fixmedins_code stri
|
92
|
92
|
//ole.CoUninitialize()
|
93
|
93
|
//
|
94
|
94
|
var json2 string
|
95
|
|
- exec.Command("java", "-jar", "yh_hb_fat.jar", "1201", string(bytesData), json2)
|
96
|
|
- //out, err := cmd.Output()
|
97
|
|
- //if err != nil {
|
98
|
|
- // fmt.Println("error:", err.Error())
|
99
|
|
- //}
|
|
95
|
+ cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "1201", string(bytesData), json2)
|
|
96
|
+ out, err := cmd.Output()
|
|
97
|
+ if err != nil {
|
|
98
|
+ fmt.Println("error:", err.Error())
|
|
99
|
+ }
|
100
|
100
|
|
101
|
|
- //fmt.Printf("call yh_hb_call %q\n", string(out))
|
|
101
|
+ fmt.Printf("call yh_hb_call %q\n", string(out))
|
102
|
102
|
fmt.Printf(json2)
|
103
|
103
|
//
|
104
|
104
|
//DllDef := syscall.MustLoadDLL("yh_hb_sctrl.dll")
|