|
|
|
@ -14,7 +14,6 @@ import (
|
|
|
|
|
*/
|
|
|
|
|
func showPreview(input string){
|
|
|
|
|
uEnc := base64.URLEncoding.EncodeToString([]byte(input))
|
|
|
|
|
fmt.Println(uEnc)
|
|
|
|
|
//生成预览OFFICE的服务地址
|
|
|
|
|
url := "http://10.10.24.100:9000/support/preview/previewOffice"
|
|
|
|
|
resp, _ := http.Get(url+"?p="+uEnc)
|
|
|
|
|