document.js 538 B

12345678910111213141516
  1. // 档案 api 接口
  2. import { wxRequest } from './request'
  3. const documentListURL = '/get/document/list'
  4. const createQRcodeURL = '/create/qrcode'
  5. const deleteDocumentURL = '/delete/document'
  6. const createDocumentURL = '/create/document'
  7. export const documentList = (data) => wxRequest(documentListURL, data)
  8. export const createQRcode = (data) => wxRequest(createQRcodeURL, data)
  9. export const deleteDocument = (data) => wxRequest(deleteDocumentURL, data)
  10. export const createDocument = (data) => wxRequest(createDocumentURL, data)