You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
358 B
11 lines
358 B
4 years ago
|
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}`);
|
||
|
};
|