提交 5ad9282c 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

test restapi

上级 80bcd818
......@@ -2,6 +2,7 @@ package zentaoHelper
import (
"fmt"
httpUtils "github.com/easysoft/zentaoatf/pkg/lib/http"
"path"
)
......@@ -24,7 +25,7 @@ func GenApiUrl(pth string, params map[string]interface{}, baseUrl string) (url s
index++
}
url = baseUrl + uri
url = httpUtils.AddSepIfNeeded(baseUrl) + uri
return
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册