提交 38282242 编写于 作者: E eoLinker API Management

修改文件

上级 addb3fe2
package dao
import (
"fmt"
"goku-ce-1.0/dao/cache"
"github.com/farseer810/yawf"
"github.com/garyburd/redigo/redis"
......
......@@ -3,7 +3,6 @@ package middleware
import (
"goku-ce-1.0/dao"
"net/http"
"time"
"fmt"
"strings"
"github.com/farseer810/yawf"
......@@ -56,6 +55,7 @@ func InjectRequestMapping(httpRequest *http.Request, context yawf.Context,
return false, "error gatewayAlias"
}
fmt.Println(gatewayHashkey)
paths := dao.GetAllAPIPaths(context, gatewayHashkey)
fmt.Println(paths)
var matchedURI string
gatewayLen := len(requestInfo[1]) + len(requestInfo[2]) + 2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册