index.js
485 Bytes
import base from './public/base'
import Login from './public/login'
import Goto from './public/goto'
import wxCtrl from './public/share'
const env = base.env();
const loginUrl = base.loginUrl();
const login = new Login({loginUrl, env});
const goto = new Goto(env);
export default {
auth:login.auth,
goLogin: login.goLogin,
getUid:base.getUid,
env: env,
link: goto.link,
goBack: goto.goBack,
wxShare: wxCtrl.wxShare,
wxSignature: wxCtrl.wxSignature
}