12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import request from '@/utils/request'
- export function fetchList(data) {
- return request({
- url: '/authdata/GetRecuDataByName',
- method: 'post',
- data
- })
- }
- export function fetchArticle(id) {
- return request({
- url: '/article/detail',
- method: 'get',
- params: { id }
- })
- }
- export function fetchPv(pv) {
- return request({
- url: '/article/pv',
- method: 'get',
- params: { pv }
- })
- }
- export function createDept(data) {
- return request({
- url: '/authdata/PostDataByName',
- method: 'post',
- data
- })
- }
- export function updateDept(data) {
- return request({
- url: '/article/update',
- method: 'post',
- data
- })
- }
- export function getRecuDept(data) {
- return request({
- url: '/authdata/getrecudatabyname',
- method: 'post',
- data
- })
- }
|