yyy
This commit is contained in:
@@ -4,7 +4,7 @@ import Config from '../config/config.js'
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
// 搜索页面的热门搜索接口
|
||||
// 搜索页面的 热门关键词 & 推荐
|
||||
// http://192.168.31.101:3030/v1/api/search/hot
|
||||
router.get('/hot', async (req, res) => {
|
||||
let $ = await Util.get(`${Config.baseUrl}/wp-admin/admin-ajax.php?action=search_box`)
|
||||
@@ -35,7 +35,7 @@ router.get('/hot', async (req, res) => {
|
||||
})
|
||||
|
||||
|
||||
// 搜索页面的热门搜索接口
|
||||
// 搜索接口
|
||||
// http://192.168.31.101:3030/v1/api/search?keyword=杨晨晨
|
||||
router.get('/', async (req, res) => {
|
||||
let { keyword, page } = req.query
|
||||
|
||||
Reference in New Issue
Block a user