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.
 
 
 
 
 
 

26 lines
1.2 KiB

import { defHttp } from '/@/utils/http/axios'
import { PageResultModel } from '/@/api/model/baseModel'
export const getCluePage = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-clue-pool',
params,
})
export const getClueList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/own-dating-clue',
params,
})
export const createClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-clue', params })
export const editClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/edit/dating-clue', params })
export const allocateCluing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/batch-allocate/dating-clue', params })
export const getClueInfo = (id: string) => defHttp.get<any>({ url: '/dating-clue-service/user/get/dating-clue-detail', params: { id } })
export const recordClueing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-clue-follow-record', params })
export const getClueRecord = (id: string) => defHttp.get<any>({ url: '/dating-clue-service/user/list/dating-clue-follow-record', params: { id }})