ouzhui 2 years ago
parent
commit
5a4674e50c
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/components/pictureUpload/pictureUpload.vue
  2. 2 2
      src/pages/edit/index.vue

+ 1 - 1
src/components/pictureUpload/pictureUpload.vue

@@ -163,7 +163,7 @@ export default {
     // 上传图片(走接口)
     uploadImg: function(el) {
       var that = this;
-      let url = "http://shoupiao.hdlkeji.com/api/Upload/upload";
+      let url = "https://zxj.star-trace.net/api/Upload/upload";
       const uploadTask = uni.uploadFile({
         url: url,
         filePath: el,

+ 2 - 2
src/pages/edit/index.vue

@@ -44,7 +44,7 @@
 
 <script>
 import Popup from "../../components/edit-popup.vue";
-
+import Request from "../../share/http";
 export default {
   components: { Popup },
   data() {
@@ -116,7 +116,7 @@ export default {
       let _this = this;
       //#ifdef MP-WEIXIN
       wx.uploadFile({
-        url: "http://shoupiao.hdlkeji.com/api/Upload/upload",
+        url: "https://zxj.star-trace.net/api/Upload/upload",
         filePath: img,
         name: "file",
         success(res) {