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