Blame view

report-ui/src/api/helpCenter/helpCenter.js 695 Bytes
王涛 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
import request from '@/api/axios'

// 查询字典
export function queryForCodeSelect(params={}) {
  return request({
    url: '/auth-service/dict/queryForCodeSelect',
    method: 'post',
    data: params
  })
}

// 查询标题
export function querytitleByCategory(params) {
  return request({
    url: '/auth-service/help/querytitleByCategory',
    method: 'post',
    data: params
  })
}

// 关键词查询
export function searchKeyWord(params = {}) {
  return request({
    url: '/auth-service/help/searchKeyWord',
    method: 'post',
    data: params
  })
}

export function queryById(data) {
  return request({
    url: '/auth-service/help/queryById',
    method: 'post',
    data
  })
}