将API设置URL从/api改为/settings/api

This commit is contained in:
GoEdgeLab
2023-06-05 09:41:52 +08:00
parent 6ea8923956
commit 02fb93c133
45 changed files with 31 additions and 31 deletions

View File

@@ -0,0 +1,21 @@
package node
import (
"github.com/iwind/TeaGo/actions"
"net/http"
)
type Helper struct {
}
func NewHelper() *Helper {
return &Helper{}
}
func (this *Helper) BeforeAction(action *actions.ActionObject) (goNext bool) {
if action.Request.Method != http.MethodGet {
return true
}
return true
}