valueCard.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import http from '@/utils/request'
  2. export function getCYCashCardInfo (condValue = '900000000000000') {
  3. return http.post('/valuecard/getCYCashCardInfo', {
  4. cardCodeToCheck: '',
  5. condType: 2,
  6. condValue,
  7. password: '',
  8. storeCode: '',
  9. verifyCode: ''
  10. })
  11. }
  12. export function createValueCardOrder (params) {
  13. return http.post('/valuecard/createOrder', params)
  14. }
  15. export function cancelValueCardOrder (params) {
  16. return http.post('/valuecard/cancelOrder', params)
  17. }
  18. export function cancelValueCardSingleTicket (params) {
  19. return http.post('/valuecard/cancelSingleTicket', params)
  20. }
  21. export function cancelValueCardCheckedTicket (params) {
  22. return http.post('/valuecard/cancelCheckedTicket', params)
  23. }
  24. export function valueCardMemberStorageSell (params) {
  25. return http.post('/valuecard/memberStorageSell', params)
  26. }
  27. export function valuecardCreateMember (params) {
  28. return http.post('/valuecard/createMember', params)
  29. }
  30. export function shutMemberMoney (params) {
  31. return http.post('/valuecard/shutMemberMoney', params)
  32. }