木邻有你前端代码仓库
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.

22 lines
441 B

8 months ago
  1. import request from "@/api/request";
  2. export default {
  3. // 程序-绑定手机号码
  4. async bindPhone(data) {
  5. return request({
  6. url: '/login/bindPhone',
  7. method: 'GET',
  8. data
  9. })
  10. },
  11. async login(data) {
  12. return request({
  13. url: '/login/login',
  14. method: 'GET',
  15. data,
  16. // header: {
  17. // 'Content-Type': 'application/x-www-form-urlencoded'
  18. // },
  19. showLoading: true
  20. })
  21. }
  22. }