18 lines
309 B
JavaScript
18 lines
309 B
JavaScript
|
/**
|
||
|
* Created by HaijunZhang on 2019/7/23.
|
||
|
*/
|
||
|
import { request } from '@cmp/cmp-element'
|
||
|
|
||
|
const baseUrl = '/sms/v1/users'
|
||
|
export function getUser(params) {
|
||
|
return request.get(baseUrl, {
|
||
|
params
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function getGroup(params) {
|
||
|
return request.get('/sms/v1/users/groups', {
|
||
|
params
|
||
|
})
|
||
|
}
|