holding1.js 470 B

123456789101112131415161718192021222324
  1. import axios from '../utils/request'
  2. // 第一层获取列表
  3. export const getList = (data) => {
  4. return axios({
  5. method: 'post',
  6. url: '/cms/storageIn/list',
  7. data
  8. })
  9. }
  10. // 点击申请入库
  11. export const enterBank = () => {
  12. return axios({
  13. method: 'post',
  14. url: '/cms/storageIn/add'
  15. })
  16. }
  17. // 第二层获取藏品列表
  18. export const getListTow = (data) => {
  19. return axios({
  20. method: 'post',
  21. url: '/cms/storageIn/goodsList',
  22. data
  23. })
  24. }