@@ -198,10 +198,10 @@ func (c *BaseAuthController) Prepare() {
}
var api string
for _, v := range list {
- api += v.Api + ","
+ api += v.Api + "&"
//处理uri请求,去除前缀和参数
- api = strings.TrimRight(api, ",")
+ api = strings.TrimRight(api, "&")
uri = strings.Replace(uri, "/adminapi", "", 1)
uris := strings.Split(uri, "?")
uri = uris[0]