yangc 7 years ago
parent
commit
6fabd1ad31

+ 1 - 1
components/applyPurchase/PublishApply.vue

@@ -301,7 +301,7 @@
             let inquiryItems = []
             inquiryItems.push(inquiryItem)
             inquiry.inquiryItems = inquiryItems
-            this.$http.post('http://10.10.0.254:8080/inquiry/buyer/save', inquiry)
+            this.$http.post('https://10.10.0.254:8080/inquiry/buyer/save', inquiry)
               .then(response => {
                 this.$message.success('发布成功')
 //                this.showRemindBox = true

+ 1 - 1
components/applyPurchase/SayPrice.vue

@@ -134,7 +134,7 @@
           if (!purchaseMan.currency) {
             purchaseMan.currency = this.sayPriceObj.currency
           }
-          this.$http.post('http://10.10.0.254:8080/inquiry/sale/item/save', purchaseMan).then(response => {
+          this.$http.post('https://10.10.0.254:8080/inquiry/sale/item/save', purchaseMan).then(response => {
             this.showLoading = false
             if (response.data.success === false) {
               this.$message.error(response.data.message)

+ 2 - 2
store/applyPurchase.js

@@ -31,7 +31,7 @@ export const actions = {
 // 采购商列表
   loadPurchaseManList ({ commit }, params = {}) {
     commit('purchaseManList/REQUEST_PURCHASEMAN')
-    return axios.get('http://10.10.0.254:8080/inquiry/public', {params})
+    return axios.get('https://10.10.0.254:8080/inquiry/public', {params})
       .then(response => {
         let list = response.data
         for (let i = 0; i < list.content.length; i++) {
@@ -48,7 +48,7 @@ export const actions = {
   // 求购排行榜
   loadPurchaseApplyRank ({ commit }, params = {}) {
     commit('purchaseApplyRank/REQUEST_PURCHASERANK', params)
-    return axios.get(`http://10.10.0.254:8080/inquiry/public/quotationList?_state=agreed&pageNumber=1&pageSize=5`)
+    return axios.get(`https://10.10.0.254:8080/inquiry/public/quotationList?_state=agreed&pageNumber=1&pageSize=5`)
       .then(response => {
         commit('purchaseApplyRank/GET_PURCHASERANK_SUCCESS', response.data)
       }, err => {