chenshijun
2020-06-28 21fe63004a3b8a8c7bb0827e0210aab2cc712678
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package hikvoice
 
import(
    "testing"
    "fmt"
)
 
func TestMain(m *testing.M) {
    fmt.Println("begin")
    var ip,usrname,passwd,filepath string
    ip = "192.168.5.35"
    usrname = "admin"
    passwd = "a1234567"
    filepath = "8k_1_16.g711a"
    r := SendVoice(ip, usrname, passwd, filepath)
    fmt.Println("end ", r)
}