import { post, get } from '@/utils/request'
// 公共接口 ------------------------------------------------------------------------------------------------
// 文件接口
export const upload = (params) => post('/admin/common/file/upload', params)
// 查询操作日志
export const queryOperationLogList = (params) => post('/admin/operation/queryOperationLogList', params)

// 投顾管理 ------------------------------------------------------------------------------------------------
// 获取投顾列表
export const tgList = (params) => post('/admin/advisor/info/list', params)

// 修改投顾状态
export const updateTgStatus = (params) => post('/admin/advisor/info/updateStatus', params)

// 修改投顾信息
export const saveTgInfo = (params) => post('/admin/advisor/info/update', params)

// 查询投顾信息
export const getTgInfo = (params) => get('/admin/advisor/info/detail', params)

// 营业部
export const getDept = (params) => post('/admin/rbac/dept/list', params)

//后台查询首页Tab列表
export const mainTabInfoList = (params) => post('/admin/mainTab/info/list', params)
//后台保存首页Tab
export const mainTabInfoSave = (params) => post('/admin/mainTab/info/save', params)
