index.js 544 B

1234567891011121314151617181920212223
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. //首页
  3. export const getMainIndex = data => {
  4. return https.get('/main/index', data)
  5. }
  6. // 我的
  7. export const mainMy = async (data) => {
  8. return https.get("/main/my", data);
  9. };
  10. //提现申请
  11. export const applyCash = async (data) => {
  12. return https.get("/cash/apply", data);
  13. };
  14. // 选客户
  15. export const customList = async (data) => {
  16. return https.get("/custom/list", data);
  17. };
  18. // 报损
  19. export const wastageCreateOrder = data => {
  20. return https.post('/wastage/create-order', data)
  21. }