From bc187a538b9278ce4d3d7a201a5a24e523d62890 Mon Sep 17 00:00:00 2001 From: fanp Date: Fri, 11 Oct 2019 17:05:40 +0800 Subject: [PATCH] update topic.js --- models/topic.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/models/topic.js b/models/topic.js index e54cfe4..dbc5f84 100644 --- a/models/topic.js +++ b/models/topic.js @@ -1,9 +1,18 @@ -import {HTTP} from '../utils/http.js' +import { HTTP, Method} from '../utils/http.js' class TopicModel extends HTTP { constructor () { super() } + // 首页列表 + getTopicList = (success) => { + let params = { + url: '/fqsb/group/list', + sucess: success, + method: Method.GET + } + this.request(params) + } } export {TopicModel}