slient.js 402 B

123456789101112131415161718192021
  1. import BaseStore from '@src/stores/base';
  2. export default class SlientStore extends BaseStore {
  3. exerciseAuto() {
  4. return this.apiGet('/exercise/paper/auto');
  5. }
  6. sentenceAuto() {
  7. return this.apiGet('/sentence/paper/auto');
  8. }
  9. requestBeforeHook() {
  10. // this.loading();
  11. }
  12. requestAfterHook() {
  13. // this.loaded();
  14. }
  15. }
  16. export const Slient = new SlientStore({ key: 'slient' });