Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

15 lines
266 B
Go

package systemser
import (
"91porn-server/common/stderr"
"91porn-server/models/v/systemmod"
)
func List() ([]*systemmod.Config, stderr.Code) {
list, err := systemmod.List()
if err != nil {
return nil, stderr.ErrDbQueryError
}
return list, stderr.Success
}