mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
新增获取http服务的url方法
This commit is contained in:
@@ -118,6 +118,10 @@ func NewHttpHttpRouter() IHttpRouter {
|
|||||||
return httpRouter
|
return httpRouter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (slf *HttpSession) GetRawQuery() string{
|
||||||
|
return slf.r.URL.RawQuery
|
||||||
|
}
|
||||||
|
|
||||||
func (slf *HttpSession) Query(key string) (string, bool) {
|
func (slf *HttpSession) Query(key string) (string, bool) {
|
||||||
if slf.mapParam == nil {
|
if slf.mapParam == nil {
|
||||||
slf.mapParam = make(map[string]string)
|
slf.mapParam = make(map[string]string)
|
||||||
|
|||||||
Reference in New Issue
Block a user