Browse Source

修改图片上传接口请求地址

xusonglin 5 years ago
parent
commit
39a9a8f3a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/journalism/journalism.vue

+ 2 - 2
src/views/journalism/journalism.vue

@@ -308,8 +308,8 @@ export default {
           changeUser: false,
           photo: '',
           quillUpdateImg: false,
-          // serverUrl: 'http://localhost:8088/api/app/upload',
-          serverUrl: 'http://192.168.1.199:18083/app/upload',
+          serverUrl: 'http://localhost:8088/api/app/upload',
+          // serverUrl: 'http://192.168.1.199:18083/app/upload',
           // 这里写你要上传的图片服务器地址
           header: {Authorization: 'Bearer ' + sessionStorage.token},  //有的图片服务器要求请求头需要有token之类的参数,写在这里
           detailContent: '', // 富文本内容