Эх сурвалжийг харах

Merge branch 'wk-dev' into dev

wenkai 2 долоо хоног өмнө
parent
commit
edf30e9c82

+ 11 - 0
src/api/system/article/index.ts

@@ -73,3 +73,14 @@ export const changeArticleDefault = (data: ArticleForm): AxiosPromise<void> => {
     data: data
   });
 };
+
+/**
+ * 查询赛事项目数量
+ * @returns {*}
+ */
+export const getArticleCount = () => {
+  return request({
+    url: '/system/article/count',
+    method: 'get'
+  });
+};