index.js 773 B

123456789101112131415161718192021222324252627282930313233
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. //本机号码一键登录
  3. export const phoneLogin = data => {
  4. return https.get('/auth/phone-login', data)
  5. }
  6. //手机号快捷登录 shish 20210121
  7. export const wxMobileLogin = data => {
  8. return https.post("/auth/wx-mobile-login", data)
  9. }
  10. export const getApkVersion = data => {
  11. return https.get('/auth/get-apk-version', data)
  12. }
  13. export const getMobile = data => {
  14. return https.post("/auth/get-mobile", data)
  15. }
  16. export const getNickname = data => {
  17. return https.post('/auth/get-nickname', data)
  18. }
  19. //服务协议
  20. export const getRegisterAgreement = data => {
  21. return https.get('/auth/register', data)
  22. }
  23. //隐私协议
  24. export const getPrivacyAgreement = data => {
  25. return https.get('/auth/privacy', data)
  26. }