index.js 751 B

123456789101112131415161718192021222324252627282930313233
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. export const getAliPayClearCode = data => {
  3. return https.get("/clear/get-ali-pay-clear-code", data);
  4. };
  5. export const getDetail = data => {
  6. return https.get("/clear/get-full-info", data);
  7. };
  8. export const getClearList = data => {
  9. return https.get("/clear/list", data);
  10. };
  11. //订单详情
  12. export const detail = data => {
  13. return https.get('/clear/detail', data)
  14. }
  15. //取消
  16. export const cancel = data => {
  17. return https.get('/clear/cancel', data)
  18. }
  19. //花店给客户结清尾款
  20. export const confirmClear = data => {
  21. return https.get('/order-clear/confirm-clear', data)
  22. }
  23. //微信线下已经付款结账
  24. export const hasWxPay = data => {
  25. return https.get("/clear/has-wx-pay", data);
  26. };