Browse Source

修改请求地址

dev
pref_mail@163.com 1 month ago
parent
commit
64637f8234
  1. 10
      src/api/desk/notice.js

10
src/api/desk/notice.js

@ -2,7 +2,7 @@ import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/blade-desk/notice/list',
url: '/logpm-basic/notice/list',
method: 'get',
params: {
...params,
@ -15,7 +15,7 @@ export const getList = (current, size, params) => {
export const remove = ids => {
return request({
url: '/blade-desk/notice/remove',
url: '/logpm-basic/notice/remove',
method: 'post',
params: {
ids,
@ -26,7 +26,7 @@ export const remove = ids => {
export const add = row => {
return request({
url: '/blade-desk/notice/submit',
url: '/logpm-basic/notice/submit',
method: 'post',
data: row,
cryptoToken: true,
@ -35,7 +35,7 @@ export const add = row => {
export const update = row => {
return request({
url: '/blade-desk/notice/submit',
url: '/logpm-basic/notice/submit',
method: 'post',
data: row,
cryptoToken: true,
@ -44,7 +44,7 @@ export const update = row => {
export const getNotice = id => {
return request({
url: '/blade-desk/notice/detail',
url: '/logpm-basic/notice/detail',
method: 'get',
params: {
id,

Loading…
Cancel
Save