@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user