12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- import request from '@/utils/request'
- // 查询客户线索三方平台列表
- export function listThird(query) {
- return request({
- url: '/crm/third/list',
- method: 'get',
- params: query
- })
- }
- // 查询客户线索三方平台详细
- export function getThird(id) {
- return request({
- url: '/crm/third/' + id,
- method: 'get'
- })
- }
- // 新增客户线索三方平台
- export function addThird(data) {
- return request({
- url: '/crm/third',
- method: 'post',
- data: data
- })
- }
- // 修改客户线索三方平台
- export function updateThird(data) {
- return request({
- url: '/crm/third',
- method: 'put',
- data: data
- })
- }
- // 删除客户线索三方平台
- export function delThird(id) {
- return request({
- url: '/crm/third/' + id,
- method: 'delete'
- })
- }
- // 导出客户线索三方平台
- export function exportThird(query) {
- return request({
- url: '/crm/third/export',
- method: 'get',
- params: query
- })
- }
- // 保存auth令牌
- export function saveFeiyuAuth(data) {
- return request({
- url: '/third/feiyu/oauthCallback',
- method: 'post',
- data: data
- })
- }
- // 获取广告商
- export function getAdvertisers(data) {
- return request({
- url: '/third/feiyu/getAdvertisers',
- method: 'post',
- data: data
- })
- }
- // 获取飞鱼线索客户
- export function getClues(data) {
- return request({
- url: '/third/feiyu/getClues',
- method: 'post',
- data: data
- })
- }
- // 从飞鱼批量导入线索客户
- export function importThird(data) {
- return request({
- url: '/third/feiyu/importThird',
- method: 'put',
- data: data
- })
- }
|