Browse Source

第六期

chenxiong 3 years ago
parent
commit
2d93c2c679
3 changed files with 21 additions and 5 deletions
  1. 8 0
      common/httpList/userInfo.js
  2. 5 5
      common/request.js
  3. 8 0
      pages3/polyv/detail.vue

+ 8 - 0
common/httpList/userInfo.js

@@ -53,4 +53,12 @@ export default {
 		})
 	},
 	
+	userConfirmInfoDetail(data) {
+			return myRequest({
+				url: '/user/confirm/info/detail',
+				method: 'GET',
+				data: data,
+			})
+		},
+	
 }

+ 5 - 5
common/request.js

@@ -4,14 +4,14 @@ import store from '@/store/index.js'
 import api from './api.js'
 var num = 1
 //接口api   
-export const BASE_URL = 'https://api.xyyxt.net'   //release
+// export const BASE_URL = 'https://api.xyyxt.net'   //release
 // export const BASE_URL = 'http://120.79.166.78:19009'   //预发布
-// export const BASE_URL = 'http://42.192.164.187:19005'    //test 
+export const BASE_URL = 'http://42.192.164.187:19005'    //test 
 // export const BASE_URL = 'http://192.168.1.222:5055'    //dev
 
  //图片上传api
-export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
-// export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
+// export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
+export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 
 // export const socket_url = 'ws://42.192.164.187:19005/webSocket/'  //test
 // export const socket_url = 'ws://120.79.166.78:19009/webSocket/'  //预发布
@@ -24,7 +24,7 @@ RVQplIVs5z3MxcUa9ptKPHUTgh8xMCBvl8sUJKwkmn4vYWeDfHT22EL7Hr1pTMwU
 hF6WiNlWfQTVoF1rhwIDAQAB
 -----END PUBLIC KEY-----`;
 
-export const version = '5.2.5' 
+export const version = '5.2.6' 
 export const tenantId = '867735392558919680' 
 export const myRequest = (options) => {
 	if (store.state.allowLoading && !options.noLoading) {

+ 8 - 0
pages3/polyv/detail.vue

@@ -637,6 +637,7 @@ export default {
   onShow() {
     var self = this;
     //相机授权
+		this.userConfirmInfoDetail()
     this.getCameraSetting();
     this.$api.getbaseprofiletplists({ goodsId: self.goodsId,orderGoodsId: this.orderGoodsId, }).then((res) => {
       console.log(res, "res");
@@ -1038,6 +1039,13 @@ export default {
           });
       }
     },
+		userConfirmInfoDetail(){
+			this.$api.userConfirmInfoDetail({
+				orderGoodsId:this.orderGoodsId
+			}).then(res => {
+				console.log(res,'res')
+			})
+		},
     /**
      * 获取业务层次详情
      */