UNPKG

xlb-main-login

Version:

``` yarn install ```

76 lines (66 loc) 1.59 kB
import { activity_url, wei_url } from './config' import { axios } from '@/utils/request' // 海报列表 export function getSaleslist(params) { return axios({ url: activity_url + '/v1/poster/', method: 'get', params, }) } // 提交保存海报 export function addposters(data, access_token) { return axios({ headers: { 'Content-Type': 'application/json;charset=UTF-8', }, url: activity_url + '//v1/poster/?access_token=' + access_token, method: 'post', data, }) } //案例列表 export function caselist() { return axios({ url: wei_url + '/demo-api/v1/api/tag/list?tagId=2', method: 'get', }) } //企业微信百问百答 export function wordlist(params,type) { return axios({ url: wei_url + '/demo-operation/v1/sys/article/?type=' + type, method: 'get', params, }) } // 行业列表 export function posterslist(type) { return axios({ url: activity_url + '/v1/poster/tag/?type=' + type, method: 'get', }) } //更新日志 export function updateinfo(params) { return axios({ url: wei_url + '/demo-operation/v1/sys/log', method: 'get', params, }) } //代办事项 export function daiban() { return axios({ url: wei_url + '/demo-operation/v1/overview/todo', method: 'get', }) } //企业微信百问百答 // export function patiently(params,type) { // return axios({ // url: wei_url + '/demo-operation/v1/sys/article/?type=' + type, // method: 'get', // params // }) // }