Browse Source

设备文章接口文件

DESKTOP-O04BTUJ\muzen 2 years ago
parent
commit
982ac8fafa
1 changed files with 19 additions and 0 deletions
  1. 19 0
      src/api/article.js

+ 19 - 0
src/api/article.js

@@ -0,0 +1,19 @@
+import request from "../utils/request";
+
+// 设备文章
+export function detail(data){
+  return request({
+    url: `/device/article/detail`,
+    method: 'get',
+    data
+  })
+}
+
+// 评论
+export function list(data){
+  return request({
+    url: `/device/articleComment/list`,
+    method: 'get',
+    data
+  })
+}