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.
13 lines
409 B
13 lines
409 B
import proxy from '../proxy'; |
|
export const list = |
|
(data = {}) => |
|
async (dispatch) => |
|
(await proxy.get('message/list', data)).dispatch(dispatch); |
|
export const send = |
|
(data = {}) => |
|
async (dispatch) => |
|
(await proxy.post('message/send', data)).dispatch(dispatch); |
|
export const sendKeys = |
|
(data = {}) => |
|
async (dispatch) => |
|
(await proxy.post('message/sendKeys', data)).dispatch(dispatch);
|
|
|