抖音小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.4 KiB

import request from '@/utils/request'
const serviceTitle = '/img'
const prefix = '/img/mini/tiktok'
//GET 传参需要用 params
//POST 传参需要用 data
4 years ago
// 获取分类
export function listType(data) {
return request({
url: `${serviceTitle}${prefix}/listType`,
method: 'get',
data
})
}
// 查询小程序端标签分页
export function signImgList(data) {
return request({
url: `${serviceTitle}${prefix}/signImgList`,
method: 'post',
data
})
}
4 years ago
// 根据分类id和便签Id查询图片分页
export function querySignImg(data) {
return request({
url: `${serviceTitle}${prefix}/querySignImg`,
method: 'post',
data
})
}
4 years ago
// 搜索标签
export function querySignImgBySignName(data) {
return request({
url: `${serviceTitle}${prefix}/querySignImgBySignName`,
method: 'post',
data
})
}
// 获取近一个月热度最高的前10条热搜词
export function getHotKeywordList() {
return request({
url: `${serviceTitle}${prefix}/getHotKeywordList`,
method: 'get'
})
}
// 添加热搜词热度次数
export function insertHotKeyword(keyword) {
return request({
url: `${serviceTitle}${prefix}/insertHotKeyword/${keyword}`,
method: 'get'
})
}
// 点击增长热搜词热度次数
export function incrementHotKeywordScore(keyword) {
return request({
url: `${serviceTitle}${prefix}/incrementHotKeywordScore/${keyword}`,
method: 'get'
})
4 years ago
}