球星卡微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
566 B

  1. import request from '@/common/request.js'
  2. // 个人中心
  3. export async function my() {
  4. return await request({
  5. url: '/api/v1/my',
  6. method: 'post',
  7. })
  8. }
  9. // 获取优惠码
  10. export async function couponSearch() {
  11. return await request({
  12. url: '/api/v1/coupon_search',
  13. method: 'post',
  14. })
  15. }
  16. // 更新优惠码
  17. export async function couponUpdate() {
  18. return await request({
  19. url: '/api/v1/coupon_update',
  20. method: 'post',
  21. })
  22. }
  23. // 获取系统信息
  24. export async function sysInfo() {
  25. return await request({
  26. url: '/api/v1/sys_info',
  27. method: 'post',
  28. })
  29. }