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 config = {
host: host,
appkey: '8c10f27733333fef726885b08ff9d858',//appkey
appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y
newsList: host + '/dxtc-apiCarbonArticles',
newsDetail: host + '/dxtc-apiCarbonArticleDetail',
markList: host + "/dxtc-apiFootMarkList",
@ -19,7 +19,7 @@ var config = {
postResult: host + '/dxtc-apiCarbonCalc',
gMarketDetail: host + '/dxtc-apiFootMarkDetail',
getThreeList: host + '/dxtc-apiTreeCases',
getapiCasesV2: host + '/dxtc-apiCasesV2',
getapiCasesOnlyForestManagementV2: host + '/dxtc-apiCasesOnlyForestManagementV2',
postPayData: host + '/dxtc-apiNeutralizationPay',
postPayDataV2: host + '/dxtc-apiNeutralizationPayV2',

View File

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

View File

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