import wx from './context/wx'; import my from './context/my'; import { isWx, isMy } from './util'; var auto = function (ctx) { if (isWx) { return wx(ctx); } if (isMy) { return my(ctx); } return ctx; }; export { auto, wx, my };