34 lines
1.3 KiB
JavaScript
34 lines
1.3 KiB
JavaScript
var host = "https://carbonneutral.bjfs.org.cn";//线上
|
|
// var host = "https://carbon.my-footprint.cn";//线上域名2
|
|
|
|
// var host = "https://tanzhonghe-admin.com";//本地
|
|
|
|
|
|
var config = {
|
|
host: host,
|
|
appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y
|
|
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',
|
|
getapiCasesOnlyForestManagementV2: host + '/dxtc-apiCasesOnlyForestManagementV2',
|
|
|
|
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;
|