From 89ee68c59cdcaa4b7fa0178be42d58bec651ee73 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 09 七月 2020 12:15:03 +0800
Subject: [PATCH] 2020-07-09

---
 src/api/index.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index 76b3ce9..d2082ee 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -13,7 +13,7 @@
   config.method = 'post'
   if (config.url.includes('LoginAndRedirect') || config.url.includes('getjsonresult')) {
     config.data = qs.stringify(config.data)
-  } else if (config.url.includes('Upload') || config.url.includes('doupload')) {
+  } else if (config.url.includes('Upload') || config.url.includes('doupload') || config.url.includes('dopreload')) {
     config.headers = { 'Content-Type': 'multipart/form-data' }
   } else {
     // config.headers.token = sessionStorage.getItem('TOKEN') || ''
@@ -448,6 +448,16 @@
   }
 
   /**
+   * @description 鑾峰彇寰俊鏀粯浜岀淮鐮�
+   */
+  getWxNativePay (param) {
+    return axios({
+      url: '/wxpay/wxNativePay',
+      data: param
+    })
+  }
+
+  /**
    * @description 鏂囦欢涓婁紶
    */
   getFileUpload (param) {

--
Gitblit v1.8.0