stanley-king 4 years ago
parent
commit
00319188ef
3 changed files with 14 additions and 14 deletions
  1. 1 1
      pages/phoneCharges/phoneCharges.js
  2. 2 2
      pages/postage/postage.js
  3. 11 11
      project.config.json

+ 1 - 1
pages/phoneCharges/phoneCharges.js

@@ -59,7 +59,7 @@ Page({
     getReq({
       act: 'index',
       op: 'card_goods',
-      card_type: 'oil',
+      page_type: 'oil',
       from: fromSource
     }, function (res) {
       self.setData({

+ 2 - 2
pages/postage/postage.js

@@ -65,7 +65,7 @@ Page({
     getReq({
       act: 'index',
       op: 'card_goods',
-      card_type: 'oil',
+      page_type: 'oil',
       from: fromSource
     }, function (res) {
       self.setData({
@@ -102,7 +102,7 @@ Page({
       app.showToast('卡号不能为空')
       return
     }
-    buyVGoods(goods_id,1,{ card_no }, (res) => {
+    buyVGoods(goods_id,1,{ card_no,card_type }, (res) => {
       // console.log('res',res)  成功回调
     }, (err) => {
       // 失败回调

+ 11 - 11
project.config.json

@@ -2,30 +2,30 @@
 	"description": "项目配置文件。",
 	"setting": {
 		"urlCheck": false,
+		"scopeDataCheck": false,
+		"coverView": true,
 		"es6": true,
-		"enhance": false,
 		"postcss": true,
+		"compileHotReLoad": false,
 		"preloadBackgroundData": false,
 		"minified": true,
+		"autoAudits": false,
 		"newFeature": true,
-		"coverView": true,
+		"uglifyFileName": false,
+		"uploadWithSourceMap": true,
+		"useIsolateContext": true,
 		"nodeModules": false,
-		"autoAudits": false,
+		"enhance": false,
+		"useCompilerModule": true,
+		"userConfirmedUseCompilerModuleSwitch": false,
 		"showShadowRootInWxmlPanel": true,
-		"scopeDataCheck": false,
-		"uglifyFileName": false,
 		"checkInvalidKey": true,
 		"checkSiteMap": true,
-		"uploadWithSourceMap": true,
-		"compileHotReLoad": false,
 		"babelSetting": {
 			"ignore": [],
 			"disablePlugins": [],
 			"outputPath": ""
-		},
-		"useIsolateContext": true,
-		"useCompilerModule": true,
-		"userConfirmedUseCompilerModuleSwitch": false
+		}
 	},
 	"compileType": "miniprogram",
 	"libVersion": "2.11.2",