|
|
@ -19,10 +19,10 @@ func QuickImg(seriOrderId string, serverIp string, shotArea string) (string, boo |
|
|
|
|
|
|
|
//定义常量
|
|
|
|
//var imageUrl = "http://10.122.78.212/axis-cgi/jpg/image.cgi?resolution=320x240&compression=25&camera=1"
|
|
|
|
|
|
|
|
serverIp = "http://" + serverIp |
|
|
|
requestArg := RequestArg{ |
|
|
|
Host: serverIp, |
|
|
|
Uri: "/axis-cgi/jpg/image.cgi?resolution=320x240&compression=25&camera=1", |
|
|
|
Uri: "/axis-cgi/jpg/image.cgi?compression=25&camera=1", |
|
|
|
Method: "GET", |
|
|
|
Username: "root", |
|
|
|
Password: "pass", |
|
|
|