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
417B

  1. const {request} = require("../request/index")
  2. /**
  3. * 获取oss鉴权信息
  4. */
  5. export const getOssAuth = function (data) {
  6. return request({
  7. url: '/aliyunOss/getSecurityToken',
  8. method: 'GET',
  9. data
  10. })
  11. }
  12. /**
  13. * 上传图片
  14. */
  15. export const uploadImage = function(data) {
  16. return request({
  17. url: '/information/registerInformation',
  18. method: 'POST',
  19. data
  20. })
  21. }