Documentation ¶
Index ¶
- func CheckSubjectExistence(externalURL string) error
- func GetRecentSubjects() (map[string][]models.SubjectSummary, error)
- func GetSearchResult(query string, page int, pageSize int) ([]models.SubjectSummary, int64, error)
- func GetStatusCounts(subjectType string) (models.StatusCounts, error)
- func GetSubject(uuidStr string) (models.Subject, error)
- func GetSubjectsByType(subjectType string, status int, page int, pageSize int) ([]models.SubjectSummary, error)
- func ManageDelSubject(uuidStr, subjectType string) error
- func ManageSubject(w http.ResponseWriter, r *http.Request, uuidStr string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSubjectExistence ¶
func GetRecentSubjects ¶
func GetRecentSubjects() (map[string][]models.SubjectSummary, error)
func GetSearchResult ¶
func GetStatusCounts ¶
func GetStatusCounts(subjectType string) (models.StatusCounts, error)
func GetSubjectsByType ¶
func ManageDelSubject ¶
func ManageSubject ¶
处理新增和编辑
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.