import Config from '@/common/js/config.js' const apiUrl = Config.apiUrl; const defaultwbs = `${apiUrl}`; export function setupPlugin(app) { uni.$u.api = { ...uni.$u.api } || {}; // 获取插件信息 uni.$u.api.getOtherPlugin = param => uni.$u.post(`${defaultwbs}/pluginshop/plugin/query?pluginId=${param.pluginId}&styleType=${param.styleType}`); };