import * as api from '../services/alipay';

export default {
  namespace: 'alipay',
  state: {},
  effects: {
    *barcode(action, {call}) {
      let {data} = yield call(api.barcode, action);
      return data;
    },
  },
};
