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.
15 lines
432 B
15 lines
432 B
'use strict';
|
|
|
|
import { basicAction } from '@peace/utils'
|
|
import { ApiTable } from '$utils'
|
|
|
|
export function getMembers(orgId) {
|
|
return dispatch => basicAction({
|
|
type: 'get',
|
|
dispatch: dispatch,
|
|
actionType: 'GET_MEMBERS',
|
|
url: `${ApiTable.getEnterprisesMembers.replace('{enterpriseId}', orgId)}`,
|
|
msg: { error: '获取用户列表失败' },
|
|
reducer: { name: 'members' }
|
|
});
|
|
}
|
|
|