pikapika/go/pikapi/controller/special.go

13 lines
314 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package controller
import "pgo/pikapi/database/comic_center"
// 根据comicId获得标题但是必须是下载的内容(暂未使用)
func specialDownloadTitle(comicId string) (string, error) {
info, err := comic_center.DownloadInfo(comicId)
if err != nil {
return "", err
}
return info.Title, nil
}