set.js 837 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import request from '@/utils/request'
  2. // 修改用户信息
  3. export function userEdit(data) {
  4. return request({
  5. url: '/api/user/edit',
  6. method: 'post',
  7. data
  8. });
  9. }
  10. //退出登录
  11. export function logout(data) {
  12. return request({
  13. url: '/api/logout',
  14. method: 'get',
  15. data
  16. });
  17. }
  18. //修改密码
  19. export function registerReset(data) {
  20. return request({
  21. url: '/api/register/reset',
  22. method: 'post',
  23. data
  24. });
  25. }
  26. //交易密码设置
  27. export function transaction(data) {
  28. return request({
  29. url: '/api/transaction',
  30. method: 'post',
  31. data
  32. });
  33. }
  34. //绑定手机
  35. export function binding(data) {
  36. return request({
  37. url: '/api/binding',
  38. method: 'post',
  39. data
  40. });
  41. }
  42. // #ifdef APP-PLUS
  43. //苹果生成账户
  44. export function applelogin(data) {
  45. return request({
  46. url: '/api/applelogin',
  47. method: 'post',
  48. data
  49. });
  50. }
  51. // #endif