提交 811606b6bf3b5e05430c8d5cec2662cc54b45c00

作者 guomingshu
1 个父辈 46d80e6e

feat: 广西

... ... @@ -117,6 +117,7 @@ export default {
117 117 }).then((res) => {
118 118 this.ossInit = res;
119 119 });
  120 + console.warn(avatarUrl)
120 121 },
121 122
122 123 computed: {
... ... @@ -200,8 +201,7 @@ export default {
200 201 formdata = {
201 202 bucket: _this.ossInit.bucket,
202 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 205 accessId: _this.ossInit.accessId,
206 206 policy: _this.ossInit.policy,
207 207 };
... ... @@ -218,7 +218,7 @@ export default {
218 218 }
219 219 for (var i = 0; i < this.picList.length; i++) {
220 220 uni.uploadFile({
221   - url: _this.ossInit.host,
  221 + url: 'https://xqztc.gxnrvtc.edu.cn:7002/basic/v1/oss/upload',
222 222 filePath: _this.picList[i],
223 223 name: "file",
224 224 formData: formdata,
... ...
... ... @@ -74,7 +74,7 @@ const store = new Vuex.Store({
74 74 vuex_baseImgUrl: "",
75 75 vuex_theme: '',
76 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 78 vuex_customer_chatUrl: "https://work.weixin.qq.com/kfid/kfc04063cd2d1081221", //企业微信客服
79 79 vuex_customer_phone: "",
80 80 vuex_applyUrl: "",
... ...
注册登录 后发表评论