/**
 * Created by huangxiaogang on 16/12/26.
 */

import BaseHttp from './_base.js';
class GithubTest extends BaseHttp {
    constructor() {
        super();
        this.host = 'https://api.github.com'
    }
}
let TestInstance = new GithubTest();

export async function getIndexInfo() {
    return await TestInstance.fetch({
        url:'/orgs/iwfe'
    }).then(function(data) {
        return data;
    }, function(error) {
        console.log('出错了', error);
    })
}
@@ -38,16 +38,27 @@
 /12/26.%0A
+ * %E9%A6%96%E9%A1%B5%E6%8F%90%E4%BE%9B%E7%9A%84%E6%9C%8D%E5%8A%A1%0A
  */%0A%0Aimp

add comments