mirror of
https://github.com/ProudMuBai/GoFilm.git
synced 2026-05-14 00:47:29 +08:00
ui and sql optimize
This commit is contained in:
@@ -113,6 +113,16 @@ func (jc *JsonCollect) GetFilmDetail(r util.RequestInfo) (list []system.MovieDet
|
||||
return
|
||||
}
|
||||
|
||||
// CustomSearch 自定义搜索, 通过特定的搜索参数获取满足条件的影片数据
|
||||
func (jc *JsonCollect) CustomSearch(r util.RequestInfo) {
|
||||
// 设置固定参数 ac 请求类型 pg 页数
|
||||
if len(r.Params.Get("ac")) <= 0 {
|
||||
r.Params.Set("ac", "detail")
|
||||
}
|
||||
r.Params.Set("pg", "1")
|
||||
// 设置搜索参数 wd (影片名模糊搜索)
|
||||
}
|
||||
|
||||
// ------------------------------------------------- XML Collect -------------------------------------------------
|
||||
|
||||
// XmlCollect 处理返回值为XML格式的采集数据
|
||||
|
||||
Reference in New Issue
Block a user