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.
12 lines
441 B
12 lines
441 B
import Config from '@/common/js/config.js'
|
|
|
|
const apiUrl = Config.apiUrl;
|
|
const defaultwbs = `${apiUrl}/defaultwbs`;
|
|
|
|
export function setupRole(app) {
|
|
uni.$u.api = { ...uni.$u.api } || {};
|
|
//根据项目id查找角色
|
|
uni.$u.api.findShowRole = param => uni.$u.post(`${defaultwbs}/role/show`, param);
|
|
//根据项目id查找所有成员
|
|
uni.$u.api.queryChecker = param => uni.$u.post(`${defaultwbs}/deliver/queryChecker`, param);
|
|
};
|
|
|