Commit 57b7cf25 authored by liwei's avatar liwei

修改了动态评论和发布动态接口

parent 636a6a0e
......@@ -13,7 +13,7 @@ export function articleList(query) {
// 发表动态
export function publishArticle(data) {
return request({
url: '/opmarticle/add',
url: '/app/opmArticle/add',
data: data,
method: 'POST',
})
......@@ -47,7 +47,7 @@ export function articleDetail(articleId){
//动态评论
export function comment(data) {
return request({
url: '/opmarticle/comment',
url: '/app/opmArticle/comment',
data: data,
method: 'POST',
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment