行业及分类数据核算接口
GET
http://localhost:8011/requestRecordInfo/api/prediction/tradeCompute
请求参数
参数名
类型
描述
必填
year
int
年度,传入需计算的年份信息
必填
emissions_total
int
全市碳排放总量
必填
emissions_enterprise
json
企业碳排放量,Json形式,例: {"lhhg":"","ftrd":"","szcyjd":""}。 且如果企业真实数据不断增加,需不断拼接参数
必填
lhhg
Sting
必填
ftrd
Sting
必填
szcyjd
Sting
必填
type
int
0|1 ,模拟预测类型,初始页面传0,全市碳排放量 调节为1
必填
gdp
int
必填
area_type
0:盘锦市类型;1:双台子区类型
必填
enterprise_count
json
企业数量,Json形式,如下: {"oil_gas":"","electric_heat":"","mining":"","fuel":"","industrial":"", "rubber_plastic":"","anon_metallic":"","general_equipment":"","paper_making":"", "agricultural_food":"","others":"","construction_business":"","Road_transport":""} 按照顺序 分别对应:石油天然气开采、电力热力生产、开采及辅助性活动、石油煤炭等燃料加工、化学燃 料及化学品制造、橡胶和苏联制品、非金属矿物制品、通用金属制造、纸制品、农副食品加工、 其他、建筑业、交通运输业
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
data
String
数据字典
必填
msg
String
示例:操作成功
必填