my.js 576 B

1234567891011121314151617
  1. // my api 接口
  2. import { wxRequest } from './request'
  3. const bindMobileURL = '/user/bind/mobile' // 获取用户手机号
  4. const loginURL = '/user/login' // 登录
  5. const bindBaseInfoURL = '/user/bind/base/info' // 绑定用户头像昵称
  6. const chargeListURL = '/get/charge/list' // 我的充值记录
  7. export const ittLogin = (data) => wxRequest(loginURL, data)
  8. export const bindMobile = (data) => wxRequest(bindMobileURL, data)
  9. export const bindBaseInfo = (data) => wxRequest(bindBaseInfoURL, data)
  10. export const chargeList = (data) => wxRequest(chargeListURL, data)