فهرست منبع

commit - 丽格 V1.0.2

zhengjinyi 2 سال پیش
والد
کامیت
f80a7a438b
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      manifest.json
  2. 2 2
      pages/user/order/create-order.vue
  3. 2 2
      services/config.env.js

+ 1 - 1
manifest.json

@@ -72,7 +72,7 @@
         "uniStatistics" : {
             "enable" : true
         },
-		"lazyCodeLoading": "requiredComponents"
+        "lazyCodeLoading" : "requiredComponents"
     },
     "mp-alipay" : {
         "usingComponents" : true

+ 2 - 2
pages/user/order/create-order.vue

@@ -505,6 +505,8 @@ export default {
 		// 提交订单
 		async hanldeOrderSubmit(params) {
 			try {
+				const res = await this.OrderService.CreatedOrderSubmit(params)
+				const data = res.data
 				// 友盟埋点收集机构自主提交订单
 				if (process.env.NODE_ENV != 'development') {
 					this.$uma.trackEvent('Um_Event_ConfirmOrder', {
@@ -513,8 +515,6 @@ export default {
 						Um_Key_OrderID: `${data.orderId}`
 					})
 				}
-				const res = await this.OrderService.CreatedOrderSubmit(params)
-				const data = res.data
 				if (data.code === 1) {
 					this.submitState = 'success'
 					setTimeout(() => {

+ 2 - 2
services/config.env.js

@@ -5,8 +5,8 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.102:18002' //志国联调地址
     // URL_CONFIG = 'http://192.168.2.103:18002'    //陈凯联调地址
-    URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'  
+    // URL_CONFIG = 'https://core-b.caimei365.com'
+    URL_CONFIG = 'https://core.caimei365.com'  
 }else{
     // 生产环境
     // URL_CONFIG = 'https://core-b.caimei365.com'