initSetupActions.js 398 Bytes
Newer Older
李彥志's avatar
李彥志 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import ActionTypes from '../../actions';

export const updatePersonalData = body => ({
  type: ActionTypes.UPDATE_PERSONAL_DETAIL_REQUEST,
  payload: { body }
});

export const updatePersonalDefinedData = body => ({
  type: ActionTypes.UPDATE_PERSONAL_DEFINE_REQUEST,
  payload: { body }
});

export const getPersonalDefinedData = () => ({
  type: ActionTypes.GET_PERSONAL_DEFINED_DATA_REQUEST
});