123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import request from '@/utils/request'
- export function listArticle (query) {
- return request({
- url: '/richText/list',
- method: 'get',
- params: query
- })
- }
- export function deleteArticle (data) {
- return request({
- url: '/richText/delete',
- method: 'post',
- data
- })
- }
- export function publishArticle (data) {
- return request({
- url: '/richText/create',
- method: 'post',
- data
- })
- }
- export function detailArticle (id) {
- return request({
- url: '/richText/detail',
- method: 'get',
- params: { id }
- })
- }
- export function editArticle (data) {
- return request({
- url: '/richText/update',
- method: 'post',
- data
- })
- }
|