good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit f31ad213 authored by a's avatar a
Browse files

route

parent e67cf671
No related branches found
No related tags found
No related merge requests found
Pipeline #31218 failed with stage
in 24 minutes and 54 seconds
...@@ -115,7 +115,7 @@ func (r *Codec) doReadGet() (msg *serverutil.Bundle, err error) { ...@@ -115,7 +115,7 @@ func (r *Codec) doReadGet() (msg *serverutil.Bundle, err error) {
func (r *Codec) doReadRPC() (msg *serverutil.Bundle, err error) { func (r *Codec) doReadRPC() (msg *serverutil.Bundle, err error) {
method_up := r.r.URL.Query().Get("method") method_up := r.r.URL.Query().Get("method")
if method_up == "" { if method_up == "" {
method_up = r.r.URL.Path method_up = strings.TrimPrefix(r.r.URL.Path, "/")
} }
id := r.r.URL.Query().Get("id") id := r.r.URL.Query().Get("id")
if id == "" { if id == "" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment