index.js 607 B

12345678910111213141516171819202122232425
  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. //服务协议
  14. export const getRegisterAgreement = data => {
  15. return https.get('/auth/register', data)
  16. }
  17. //隐私协议
  18. export const getPrivacyAgreement = data => {
  19. return https.get('/auth/privacy', data)
  20. }