Rap 原分销系统代码Web
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.

9b8baa2e1b5196bb73a452789bd24dd450103acc.svn-base 545B

пре 5 месеци
1234567891011121314151617181920212223242526272829303132333435
  1. import request from '@/utils/request'
  2. export function login(username, password, code, uuid) {
  3. return request({
  4. url: 'api/auth/login',
  5. method: 'post',
  6. data: {
  7. username,
  8. password,
  9. code,
  10. uuid
  11. }
  12. })
  13. }
  14. export function getInfo() {
  15. return request({
  16. url: 'api/auth/info',
  17. method: 'get'
  18. })
  19. }
  20. export function getCodeImg() {
  21. return request({
  22. url: 'api/auth/code',
  23. method: 'get'
  24. })
  25. }
  26. export function logout() {
  27. return request({
  28. url: 'api/auth/logout',
  29. method: 'delete'
  30. })
  31. }