@@ -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'
+ });
+};