master
wangxinglong 2021-09-03 09:53:05 +08:00
parent 9c1db5c199
commit 8a1c91f1f3
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
var host = "https://carbon.scdxtc.cn";//大向天诚服务器 var host = "https://carbon.scdxtc.cn";//大向天诚服务器
var config = { var config = {
host: host, host: host,
appkey: '8c10f27733333fef726885b08ff9d858',//appkey appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y
newsList: host + '/dxtc-apiCarbonArticles', newsList: host + '/dxtc-apiCarbonArticles',
newsDetail: host + '/dxtc-apiCarbonArticleDetail', newsDetail: host + '/dxtc-apiCarbonArticleDetail',
markList: host + "/dxtc-apiFootMarkList", markList: host + "/dxtc-apiFootMarkList",
@ -19,7 +19,7 @@ var config = {
postResult: host + '/dxtc-apiCarbonCalc', postResult: host + '/dxtc-apiCarbonCalc',
gMarketDetail: host + '/dxtc-apiFootMarkDetail', gMarketDetail: host + '/dxtc-apiFootMarkDetail',
getThreeList: host + '/dxtc-apiTreeCases', getThreeList: host + '/dxtc-apiTreeCases',
getapiCasesV2: host + '/dxtc-apiCasesV2', getapiCasesOnlyForestManagementV2: host + '/dxtc-apiCasesOnlyForestManagementV2',
postPayData: host + '/dxtc-apiNeutralizationPay', postPayData: host + '/dxtc-apiNeutralizationPay',
postPayDataV2: host + '/dxtc-apiNeutralizationPayV2', postPayDataV2: host + '/dxtc-apiNeutralizationPayV2',

View File

@ -250,7 +250,7 @@ Page({
} }
}) })
wx.request({ wx.request({
url: urlPath.getapiCasesV2, url: urlPath.getapiCasesOnlyForestManagementV2,
header: {'content-type': 'application/x-www-form-urlencoded'}, header: {'content-type': 'application/x-www-form-urlencoded'},
method: 'post', method: 'post',
dataType: 'json', // 添加这个配置 dataType: 'json', // 添加这个配置

View File

@ -42,7 +42,7 @@
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.16.0", "libVersion": "2.16.0",
"appid": "wxf0ac33e1fb0d8358", "appid": "wxf0ac33e1fb0d8358",
"projectname": "tanzhonghe", "projectname": "tanzhongheY",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
}, },