mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-06-16 10:03:18 +08:00
✨ The convert command has a new flag: config
🐛 Fix Fetch func cannot return err 🐛 Fix cannot read templates correctly
This commit is contained in:
@ -2,8 +2,8 @@ package handler
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"sub2sing-box/api/model"
|
||||
"sub2sing-box/common"
|
||||
"sub2sing-box/model"
|
||||
"sub2sing-box/util"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
|
@ -1,13 +0,0 @@
|
||||
package model
|
||||
|
||||
type ConvertRequest struct {
|
||||
Subscriptions []string `form:"subscription" json:"subscription"`
|
||||
Proxies []string `form:"proxy" json:"proxy"`
|
||||
Template string `form:"template" json:"template"`
|
||||
Delete string `form:"delete" json:"delete"`
|
||||
Rename map[string]string `form:"rename" json:"rename"`
|
||||
Group bool `form:"group" json:"group"`
|
||||
GroupType string `form:"group-type" json:"group-type"`
|
||||
SortKey string `form:"sort" json:"sort"`
|
||||
SortType string `form:"sort-type" json:"sort-type"`
|
||||
}
|
Reference in New Issue
Block a user