index.js
493 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 uid = base.uid();
const login = new Login({loginUrl, env, uid});
const goto = new Goto(env);
export default {
goLogin: login.goLogin,
uid: base.geAppUid,
env: env,
link: goto.link,
goBack: goto.goBack,
wxShare: wxCtrl.wxShare,
wxSignature: wxCtrl.wxSignature
}