demo.js 203 B

1234567891011121314
  1. import http from '@/http/api.js'
  2. // 获取验证码
  3. const captcha = (data) => {
  4. return http.request({
  5. url: '/api/blade-auth/oauth/captcha',
  6. method: 'GET',
  7. data
  8. })
  9. }
  10. export default {
  11. captcha,
  12. }