Explorar o código

feat:修改首页查询图片接口

LuoDLeo %!s(int64=2) %!d(string=hai) anos
pai
achega
cf4179d828
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -392,7 +392,7 @@ export default {
 
     getImgUrlByOssId(ossId) {
       if (ossId) {
-        this.$api.getImgUrlByOssId(ossId).then(res => {
+        this.$api.getImage(ossId).then(res => {
           console.log('++++++++用户头像+++++++++++++++', res)
         })
         this.userInfo.selfPhotoUrl = url;