基金数据获取

使用说明:
请求示例:https://www.cnuseful.com/api/index/fund?code=002199,320007
接口地址:https://www.cnuseful.com/api/index/fund
返回格式:Json
请求方式:GET

请求参数说明:

字段类型描述
codeString基金代码(必填)逗号隔开支持多个查询
返回参数说明:
字段类型描述
codeString基金代码
nameString基金名称
valuationString净值
valuationPString当前涨幅百分比
networthString估值
gettimeString获取时间
JSON返回示例:
{
	"code": 1,
	"msg": "获取数据成功",
	"time": "1615447957",
	"data": [
		{
			"code": "002199",
			"name": "前海开源中证军工指数C",
			"valuation": "0.8791",
			"valuationP": "1.63",
			"networth": "0.8650",
			"gettime": "2021-03-11 15:00"
		},
		{
			"code": "320007",
			"name": "诺安成长混合",
			"valuation": "1.6161",
			"valuationP": "3.13",
			"networth": "1.5670",
			"gettime": "2021-03-11 15:00"
		}
	]
}