improve: 优化包引用
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package srunModels
|
||||
|
||||
import (
|
||||
srunTransfer "github.com/Mmx233/BitSrunLoginGo/v1"
|
||||
"github.com/Mmx233/BitSrunLoginGo/v1"
|
||||
)
|
||||
|
||||
type Daemon struct {
|
||||
@@ -36,7 +36,7 @@ type Settings struct {
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Form srunTransfer.LoginForm `json:"form" yaml:"form" mapstructure:"form"`
|
||||
Meta srunTransfer.LoginMeta `json:"meta" yaml:"meta" mapstructure:"meta"`
|
||||
Settings Settings `json:"settings" yaml:"settings" mapstructure:"settings"`
|
||||
Form BitSrun.LoginForm `json:"form" yaml:"form" mapstructure:"form"`
|
||||
Meta BitSrun.LoginMeta `json:"meta" yaml:"meta" mapstructure:"meta"`
|
||||
Settings Settings `json:"settings" yaml:"settings" mapstructure:"settings"`
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
package srunModels
|
||||
|
||||
import (
|
||||
"github.com/Mmx233/BitSrunLoginGo/v1"
|
||||
)
|
||||
|
||||
type LoginInfo struct {
|
||||
Ip string
|
||||
Token string
|
||||
EncryptedInfo string
|
||||
Md5 string
|
||||
EncryptedMd5 string
|
||||
EncryptedChkstr string
|
||||
LoginResult string
|
||||
|
||||
Form *BitSrun.LoginForm
|
||||
Meta *BitSrun.LoginMeta
|
||||
}
|
||||
Reference in New Issue
Block a user