正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
@@ -117,6 +117,7 @@ export default { | @@ -117,6 +117,7 @@ export default { | ||
117 | }).then((res) => { | 117 | }).then((res) => { |
118 | this.ossInit = res; | 118 | this.ossInit = res; |
119 | }); | 119 | }); |
120 | + console.warn(avatarUrl) | ||
120 | }, | 121 | }, |
121 | 122 | ||
122 | computed: { | 123 | computed: { |
@@ -200,8 +201,7 @@ export default { | @@ -200,8 +201,7 @@ export default { | ||
200 | formdata = { | 201 | formdata = { |
201 | bucket: _this.ossInit.bucket, | 202 | bucket: _this.ossInit.bucket, |
202 | dir: _this.ossInit.dir, | 203 | dir: _this.ossInit.dir, |
203 | - fileName: | ||
204 | - `${_this.ossInit.dir}${new Date().getTime()}/` + "${filename}", | 204 | + fileName: `${_this.ossInit.dir}${new Date().getTime()}/` + "${filename}", |
205 | accessId: _this.ossInit.accessId, | 205 | accessId: _this.ossInit.accessId, |
206 | policy: _this.ossInit.policy, | 206 | policy: _this.ossInit.policy, |
207 | }; | 207 | }; |
@@ -218,7 +218,7 @@ export default { | @@ -218,7 +218,7 @@ export default { | ||
218 | } | 218 | } |
219 | for (var i = 0; i < this.picList.length; i++) { | 219 | for (var i = 0; i < this.picList.length; i++) { |
220 | uni.uploadFile({ | 220 | uni.uploadFile({ |
221 | - url: _this.ossInit.host, | 221 | + url: 'https://xqztc.gxnrvtc.edu.cn:7002/basic/v1/oss/upload', |
222 | filePath: _this.picList[i], | 222 | filePath: _this.picList[i], |
223 | name: "file", | 223 | name: "file", |
224 | formData: formdata, | 224 | formData: formdata, |
@@ -74,7 +74,7 @@ const store = new Vuex.Store({ | @@ -74,7 +74,7 @@ const store = new Vuex.Store({ | ||
74 | vuex_baseImgUrl: "", | 74 | vuex_baseImgUrl: "", |
75 | vuex_theme: '', | 75 | vuex_theme: '', |
76 | vuex_ossUrl: "https://yxly.oss-cn-beijing.aliyuncs.com", | 76 | vuex_ossUrl: "https://yxly.oss-cn-beijing.aliyuncs.com", |
77 | - vuex_ossUrlPubilc: "http://42.247.37.17:19000", | 77 | + vuex_ossUrlPubilc: "https://xqztc.gxnrvtc.edu.cn:19000/yxlypublic", |
78 | vuex_customer_chatUrl: "https://work.weixin.qq.com/kfid/kfc04063cd2d1081221", //企业微信客服 | 78 | vuex_customer_chatUrl: "https://work.weixin.qq.com/kfid/kfc04063cd2d1081221", //企业微信客服 |
79 | vuex_customer_phone: "", | 79 | vuex_customer_phone: "", |
80 | vuex_applyUrl: "", | 80 | vuex_applyUrl: "", |
请
注册
或
登录
后发表评论