Commit 3918d90d authored by liwei's avatar liwei

完成了基础评论功能

parent c22294db
...@@ -39,7 +39,16 @@ export function getOssUrl(id) { ...@@ -39,7 +39,16 @@ export function getOssUrl(id) {
//查看动态详情 //查看动态详情
export function articleDetail(articleId){ export function articleDetail(articleId){
return request({ return request({
url: '/opmarticle/detail/' + articleId, url: '/app/open/opmArticle/detail/' + articleId,
method: 'GET', method: 'GET',
}) })
} }
//动态评论
export function comment(data) {
return request({
url: '/opmarticle/comment',
data: data,
method: 'POST',
})
}
This diff is collapsed.
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