otherRecharge.js 990 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import requestWhite from '../utils/requestWhite.js';
  2. export function rechargeData(data) {
  3. var url='/mobile/otherRecharge/rechargeData';
  4. return requestWhite({
  5. method: 'post',
  6. data: data,
  7. url: url
  8. })
  9. }
  10. export function rechargeDetails(data) {
  11. var url='/mobile/otherRecharge/rechargeDetails';
  12. return requestWhite({
  13. method: 'post',
  14. data: data,
  15. url: url
  16. })
  17. }
  18. export function findByCard(data) {
  19. var url='/mobile/otherRecharge/findByCard';
  20. return requestWhite({
  21. method: 'post',
  22. data: data,
  23. url: url
  24. })
  25. }
  26. export function bindCard(data) {
  27. var url='/mobile/otherRecharge/bindCard';
  28. return requestWhite({
  29. method: 'post',
  30. data: data,
  31. url: url
  32. })
  33. }
  34. export function getVerifyCode(tel) {
  35. return requestWhite({
  36. method: 'post',
  37. data:{
  38. telephone:tel
  39. } ,
  40. url: '/mobile/regUser/getVerifyCode'
  41. })
  42. }
  43. export function findByPhone(data) {
  44. var url='/mobile/otherRecharge/findByPhone';
  45. return requestWhite({
  46. method: 'post',
  47. data: data,
  48. url: url
  49. })
  50. }