完整示例代码分享:
{
"reason": "success",
"result": {
"year": 2020,/*农历年份数字*/
"month": 12,/*农历月份数字*/
"day": 3,/*农历日期数字*/
"Animal": "鼠",/*属相*/
"ImonthCn": "腊月",/*农历月份*/
"IDayCn": "初三",/*农历日期*/
"cYear": 2021,/*公历年份数字*/
"cMonth": 1,/*公历月份数字*/
"cDay": 15,/*公历日期数字*/
"gzYear": "庚子",/*干支纪年*/
"gzMonth": "己丑",/*干支纪月*/
"gzDay": "癸亥",/*干支纪日*/
"isLeap": false,/*是否闰月*/
"ncWeek": "星期五",/*周几*/
"isTerm": false,/*是否节气*/
"Term": null,/*节气,例:大寒,isTerm为true时不为null*/
"astro": "魔羯座",/*星座*/
"eightAll": {
"eight": [/*八字*/
"庚子",
"己丑",
"癸亥",
"庚申"
],
"shu": "水"/*属(如:属水)*/
},
"fiveAll": {
"five": [/*五行*/
"金水",
"土土",
"水水",
"金金"
],
"lose": "木火"/*缺(如:缺木火)*/
}
},
"error_code": 0
}