feat: import Sea vHost single-server testing release

This commit is contained in:
canglan committed 2026-10-30 08:39:10 +08:00
commit 248badd33e
441 files changed
+63221

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
package store
import "context"
func(s *Store)SetFTPEnabled(ctx context.Context,project uint64,enabled bool)error{_,e:=s.db.ExecContext(ctx,"UPDATE ftp_accounts SET enabled=? WHERE project_id=?",enabled,project);return e}
func(s *Store)SetFTPPasswordCipher(ctx context.Context,project uint64,cipher []byte)error{_,e:=s.db.ExecContext(ctx,"UPDATE ftp_accounts SET password_ciphertext=? WHERE project_id=?",cipher,project);return e}