mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
fix err with imports
This commit is contained in:
parent
50cfc9bd7a
commit
89228951d3
3 changed files with 4 additions and 4 deletions
|
|
@ -201,7 +201,7 @@ func (s *SubJsonService) getConfig(inbound *model.Inbound, client model.Client,
|
||||||
newConfigJson[key] = value
|
newConfigJson[key] = value
|
||||||
}
|
}
|
||||||
newConfigJson["outbounds"] = newOutbounds
|
newConfigJson["outbounds"] = newOutbounds
|
||||||
newConfigJson["remarks"] = s.SubService.genRemark(inbound, client.Email, extPrxy["remark"].(string))
|
newConfigJson["remarks"] = s.SubService.genRemark(inbound, client.Email, extPrxy["remark"].(string), host)
|
||||||
|
|
||||||
newConfig, _ := json.MarshalIndent(newConfigJson, "", " ")
|
newConfig, _ := json.MarshalIndent(newConfigJson, "", " ")
|
||||||
newJsonArray = append(newJsonArray, newConfig)
|
newJsonArray = append(newJsonArray, newConfig)
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package controller
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"x-ui/database/model"
|
"github.com/mhsanaei/3x-ui/v2/database/model"
|
||||||
"x-ui/web/service"
|
"github.com/mhsanaei/3x-ui/v2/web/service"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ package middleware
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"x-ui/web/service"
|
"github.com/mhsanaei/3x-ui/v2/web/service"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue