global.js 413 B

123456789101112131415161718192021222324
  1. import request from '@/utils/request'
  2. const imagePath = "http://laidati.fun/images_answer"
  3. export function systemBaseInfo() {
  4. return request({
  5. url: '/system/app/AppLoginController/systemBaseInfo',
  6. method: 'post',
  7. })
  8. }
  9. export function getOpenId(code) {
  10. let f = {
  11. code: code
  12. }
  13. return request({
  14. url: '/system/app/AppLoginController/getOpenId',
  15. method: 'post',
  16. data: f,
  17. })
  18. }
  19. export {
  20. imagePath
  21. }