File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ require (
76
76
github.com/webx-top/codec v0.3.0
77
77
github.com/webx-top/com v1.3.3
78
78
github.com/webx-top/db v1.27.10
79
- github.com/webx-top/echo v1.10.2
79
+ github.com/webx-top/echo v1.10.3
80
80
github.com/webx-top/image v0.1.1
81
81
github.com/webx-top/restyclient v0.0.4
82
82
github.com/webx-top/validation v0.0.3
Original file line number Diff line number Diff line change @@ -1776,8 +1776,8 @@ github.com/webx-top/com v1.3.3 h1:EZih/Js5BT6hnz72HjkAi1Iwnl4yxKmOwxxA3sMH6LY=
1776
1776
github.com/webx-top/com v1.3.3 /go.mod h1:DDfATzu1w5+vD5XmG3YRTfLjaIqZWi/yeJ7HQEGsM2Q =
1777
1777
github.com/webx-top/db v1.27.10 h1:UH5+5uycRTZOflMsbQTMbkaI2Pc9ZCoe5jYj1weLAxA =
1778
1778
github.com/webx-top/db v1.27.10 /go.mod h1:Z1XZTrQHz7iq05zlggIiQ7XOJcqCX1OmaaqMt3v5+vE =
1779
- github.com/webx-top/echo v1.10.2 h1:L7vCev9cOoVUcw3/uka5GhfmBBmTfLeU9J3MkWpl/1k =
1780
- github.com/webx-top/echo v1.10.2 /go.mod h1:i5i4ELlFH/DQKgzkWUHFn/n08U5fSiL6L5s0qJbYujI =
1779
+ github.com/webx-top/echo v1.10.3 h1:v9nFqLcZXgg8f2IQbcETE9dSStpqaPuxxfAHz4rndME =
1780
+ github.com/webx-top/echo v1.10.3 /go.mod h1:i5i4ELlFH/DQKgzkWUHFn/n08U5fSiL6L5s0qJbYujI =
1781
1781
github.com/webx-top/image v0.1.1 h1:g8DMDi5cvmoQW3ZlA73t2cF/ywIp1AAEiy1HeIUTXv0 =
1782
1782
github.com/webx-top/image v0.1.1 /go.mod h1:+h1W1x6ci+EqAlbnKSEdpflMWrCGNlLqB0OcmfglzMg =
1783
1783
github.com/webx-top/pagination v0.3.1 h1:0jX1hCG6DmAXQW06Ns9hySjxsvcsM1JVAvXOeFv+bfA =
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ func SetPrefix(prefix string) {
117
117
backend .DefaultAvatarURL = prefix + DefaultAvatarURL
118
118
}
119
119
120
+ func Prefix () string {
121
+ return route .Prefix ()
122
+ }
123
+
120
124
func start () {
121
125
e := route .IRegister ().Echo () // 不需要内部重启,所以直接操作*Echo
122
126
config .FromFile ().Sys .SetRealIPParams (e .RealIPConfig ())
You can’t perform that action at this time.
0 commit comments