fix err with imports

This commit is contained in:
Дмитрий Саенко 2025-09-29 21:40:45 +03:00
parent 50cfc9bd7a
commit 89228951d3
3 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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"
) )

View file

@ -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"
) )