tanzhongheY/config.js

34 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-09-03 10:34:12 +00:00
var host = "https://carbonneutral.bjfs.org.cn";//线上
2021-09-01 07:52:30 +00:00
// var host = "https://carbon.my-footprint.cn";//线上域名2
// var host = "https://tanzhonghe-admin.com";//本地
2021-09-03 11:12:51 +00:00
2021-09-03 10:38:04 +00:00
2021-09-01 07:52:30 +00:00
var config = {
host: host,
2021-09-03 01:53:05 +00:00
appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y
2021-09-01 07:52:30 +00:00
newsList: host + '/dxtc-apiCarbonArticles',
newsDetail: host + '/dxtc-apiCarbonArticleDetail',
markList: host + "/dxtc-apiFootMarkList",
upImg: host + "/dxtc-apiCustomUserAvatar",
getUserInfo: host + '/dxtc-apiUserDetail',
apiLogin: host + '/dxtc-apiLogin',
getMedal: host + '/dxtc-apiCertificates',
getTemplate: host + '/dxtc-apiCalculators',
getCertificate: host + '/dxtc-apiCertificates',
postResult: host + '/dxtc-apiCarbonCalc',
gMarketDetail: host + '/dxtc-apiFootMarkDetail',
getThreeList: host + '/dxtc-apiTreeCases',
2021-09-03 01:53:05 +00:00
getapiCasesOnlyForestManagementV2: host + '/dxtc-apiCasesOnlyForestManagementV2',
2021-09-01 07:52:30 +00:00
postPayData: host + '/dxtc-apiNeutralizationPay',
postPayDataV2: host + '/dxtc-apiNeutralizationPayV2',
apiEditUserInfo: host + '/dxtc-apiEditUserInfo',
apiCustomEditUserInfo: host + '/dxtc-apiCustomEditUserInfo',
apiNeutralizationPaid: host + '/dxtc-apiNeutralizationPaid',
apiNeutralizationPaidV2: host + '/dxtc-apiNeutralizationPaidV2',
apiAllUserMedal: host + '/dxtc-apiAllUserMedal',
}
module.exports = config;