2021-10-14 10:12:36 +00:00
|
|
|
|
package controller
|
|
|
|
|
|
2021-10-22 02:24:39 +00:00
|
|
|
|
import "pikapi/main/database/comic_center"
|
2021-10-14 10:12:36 +00:00
|
|
|
|
|
2021-10-19 10:26:12 +00:00
|
|
|
|
// 根据comicId,获得标题,但是必须是下载的内容(暂未使用)
|
2021-10-14 10:12:36 +00:00
|
|
|
|
func specialDownloadTitle(comicId string) (string, error) {
|
|
|
|
|
info, err := comic_center.DownloadInfo(comicId)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return "", err
|
|
|
|
|
}
|
|
|
|
|
return info.Title, nil
|
|
|
|
|
}
|