22 lines
647 B
TypeScript
22 lines
647 B
TypeScript
import request from '@/utils/request'
|
|
|
|
// 短链接列表
|
|
export function shortLinkLists(params?: any) {
|
|
return request.get({ url: '/shortlink.shortLink/lists', params })
|
|
}
|
|
|
|
// 短链接点击日志
|
|
export function shortLinkLogLists(params?: any) {
|
|
return request.get({ url: '/shortlink.shortLink/logLists', params })
|
|
}
|
|
|
|
// 删除短链接
|
|
export function shortLinkDelete(params: any) {
|
|
return request.post({ url: '/shortlink.shortLink/delete', params })
|
|
}
|
|
|
|
// 重新生成二维码
|
|
export function shortLinkRegenerateQrcode(params: { id: number }) {
|
|
return request.post({ url: '/shortlink.shortLink/regenerateQrcode', params })
|
|
}
|