新增获取http服务的url方法

This commit is contained in:
orgin
2022-11-15 15:18:00 +08:00
parent d9afeed6ee
commit 80c73b0bdb

View File

@@ -118,6 +118,10 @@ func NewHttpHttpRouter() IHttpRouter {
return httpRouter
}
func (slf *HttpSession) GetRawQuery() string{
return slf.r.URL.RawQuery
}
func (slf *HttpSession) Query(key string) (string, bool) {
if slf.mapParam == nil {
slf.mapParam = make(map[string]string)