八字精盘
<p>[TOC]</p>
<h3>接口描述</h3>
<p>- 八字精盘,亦称八字流盘,流盘数据非常精细,列出所有流年,流月详细信息,还可以通过工具-流日流时来列出精确到日时信息,包含十神,藏干,纳音,五行,自坐,星运,空亡,神煞,干支留意等非常多的详细信息。</p>
<h3>请求地址</h3>
<p><code>https://api.jumdata.com/horoscope/precise/arrange</code></p>
<h3>请求方式</h3>
<ul>
<li>POST</li>
</ul>
<h3>请求格式</h3>
<ul>
<li>x-www-form-urlencoded</li>
</ul>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必须</th>
<th><div style="width:400px">说明</div></th>
</tr>
</thead>
<tbody>
<tr>
<td>appId</td>
<td>String</td>
<td>是</td>
<td>服务商分配的唯一标识</td>
</tr>
<tr>
<td>timestamp</td>
<td>Long</td>
<td>是</td>
<td>当前时间戳(毫秒数)</td>
</tr>
<tr>
<td>sign</td>
<td>String</td>
<td>是</td>
<td>签名,详见签名算法说明</td>
</tr>
<tr>
<td>name</td>
<td>String</td>
<td>是</td>
<td>姓名</td>
</tr>
<tr>
<td>sex</td>
<td>String</td>
<td>是</td>
<td>性别 0:男 1:女</td>
</tr>
<tr>
<td>type</td>
<td>String</td>
<td>是</td>
<td>历类型 0:农历 1:公历</td>
</tr>
<tr>
<td>birthDay</td>
<td>String</td>
<td>是</td>
<td>出生年月日时分 格式yyyyMMddHHmm 譬如202509132155 </td>
</tr>
<tr>
<td>sect</td>
<td>String</td>
<td>否</td>
<td>流派 例:1:晚子时日柱算明天 2:晚子时日柱算当天 默认:1</td>
</tr>
<tr>
<td>zhen</td>
<td>String</td>
<td>否</td>
<td>是否真太阳时 例:1:考虑真太阳时 2:不考虑真太阳时 默认:2</td>
</tr>
<tr>
<td>loadMode</td>
<td>String</td>
<td>否</td>
<td>加载模式 例:1:全部加载 2:按需加载(推荐) 默认:2</td>
</tr>
<tr>
<td>dayunIndex</td>
<td>String</td>
<td>否</td>
<td>加载指定轮大运全部信息 例:2:第二轮大运 3:第三轮大运4:第四轮大运 5:第五轮大运 6:第六轮大运7:第七轮大运 8:第八轮大运 9:第九轮大运 默认:2</td>
</tr>
<tr>
<td>iszip</td>
<td>String</td>
<td>否</td>
<td>是否压缩数据 例:1:是 2:否 默认:2</td>
</tr>
<tr>
<td>province</td>
<td>String</td>
<td>否</td>
<td>省 例:北京市 非必传,但是如果考虑真太阳时,省和市都必传 详见<a href="<a href="https://www.showdoc.com.cn/jumdata/11558915168150800">真太阳时城市列表</a>">https://www.showdoc.com.cn/jumdata/11558915168150800">真太阳时城市列表</a></a>; </td>
</tr>
<tr>
<td>city</td>
<td>String</td>
<td>否</td>
<td>市 例:北京 非必传,但是如果考虑真太阳时,省和市都必传 详见<a href="<a href="https://www.showdoc.com.cn/jumdata/11558915168150800">真太阳时城市列表</a>">https://www.showdoc.com.cn/jumdata/11558915168150800">真太阳时城市列表</a></a>; </td>
</tr>
<tr>
<td>lang</td>
<td>String</td>
<td>否</td>
<td>语言:zh-cn 、zh-tw 默认:zh-cn </td>
</tr>
</tbody>
</table>
<h3>签名算法说明</h3>
<p><code>sign = sha256(appId + appSecret + timestamp)</code></p>
<p>用服务商分配的 appId、服务商分配的 appSecret,当前时间时间戳 timestamp,按上述顺序拼接成字符串,再进行 sha256 哈希得到。如下:</p>
<pre><code class="language-java">String appId = &quot;xyzxy2121zxyz&quot;;
String timestamp = &quot;1555378976238&quot;;
String appSecret = &quot;efcefcef1121cefcefc1212121&quot;;
String str = appId + appSecret + timestamp;
String sign = sha256(str);</code></pre>
<h3>成功返回样例</h3>
<pre><code class="language-json">{
&quot;code&quot;: 200,//返回码,详见返回码说明
&quot;msg&quot;: &quot;成功&quot;, //code对应的描述
&quot;taskNo&quot;: &quot;297667220221147391480569&quot;,//本次请求号
&quot;charge&quot;: true,//计费标志
&quot;data&quot;: {
&quot;base_info&quot;: {
&quot;zhen&quot;: { //考虑真太阳时才会有此字段,不考虑真太阳时就没有这个字段
&quot;province&quot;: &quot;北京市&quot;, //真太阳时省市
&quot;city&quot;: &quot;北京&quot;, //真太阳时省市
&quot;jingdu&quot;: &quot;116.46&quot;, //真太阳经度
&quot;weidu&quot;: &quot;39.92&quot;, //真太阳纬度
&quot;shicha&quot;: &quot;晚0小时14分10秒&quot; //考虑真太阳的时差
},
&quot;sex&quot;: &quot;乾造&quot;,
&quot;name&quot;: &quot;张三&quot;,
&quot;gongli&quot;: &quot;1994-04-30 10:00:00&quot;, //公历
&quot;nongli&quot;: &quot;一九九四年三月二十日 巳时&quot;, //农历
&quot;qiyun&quot;: &quot;1年10个月20天后起运&quot;, //起运
&quot;jiaoyun&quot;: &quot;1996-03-21后交运&quot;, //交运
&quot;taiyuan&quot;: &quot;己未&quot;, //胎元
&quot;taiyuan_nayin&quot;: &quot;天上火&quot;, //胎元纳音
&quot;taixi&quot;: &quot;辛卯&quot;, //胎息
&quot;taixi_nayin&quot;: &quot;松柏木&quot;, //胎息纳音
&quot;minggong&quot;: &quot;壬申&quot;, //命宫
&quot;minggong_nayin&quot;: &quot;剑锋金&quot;, //命宫纳音
&quot;shengong&quot;: &quot;甲戌&quot;, //身宫
&quot;shengong_nayin&quot;: &quot;山头火&quot;, //身宫纳音
&quot;shengxiao&quot;: &quot;狗&quot;, //生肖
&quot;xingzuo&quot;: &quot;金牛&quot; //星座
&quot;siling&quot;: &quot;戊&quot; //司令
&quot;jiaoyun_mang&quot;: &quot;逢丙、庚年 清明前3天的午时 交大运&quot; //盲派口诀交运
&quot;xingxiu&quot;: &quot;胃宿西方白虎&quot;, //星宿
&quot;minggua&quot;: {
&quot;minggua_name&quot;: &quot;乾&quot;, //命卦
&quot;minggua_fangwei&quot;: &quot;西四命&quot; //命卦方位
}
&quot;wuxing_wangdu&quot;: &quot;水旺 木相 金休 土囚 火死&quot;, //五行旺度
&quot;wuxing_xiji&quot;: &quot;喜土 用火 闲金 仇水 忌木&quot;, //五行喜忌
&quot;tiangan_liuyi&quot;: &quot;戊癸合化火 戊壬相克 壬乙相生&quot;, //天干留意
&quot;dizhi_liuyi&quot;: &quot;辰辰自刑 巳亥相冲&quot;, //地支留意
&quot;zhengge&quot;: &quot;伤官格&quot;, //八字正格
&quot;xiyongshen&quot;: { //喜用神 无敌律数八字五行量化法
&quot;qiangruo&quot;: &quot;八字偏弱&quot;, //八字强弱
&quot;xiyongshen&quot;: &quot;金,水&quot;, //以金,水为喜用神
&quot;jishen&quot;: &quot;水&quot;, //以水为忌神
&quot;xiyongshen_desc&quot;: &quot;身弱,需补助,避免克泄耗,喜用金补水,避木忌土火。&quot;, //喜用神说明
&quot;jin_number&quot;: 0, //五行统计 金有0个
&quot;mu_number&quot;: 1, //五行统计 木有1个
&quot;shui_number&quot;: 2, //五行统计 水有2个
&quot;huo_number&quot;: 3, //五行统计 火有3个
&quot;tu_number&quot;: 2, //五行统计 土有2个
&quot;tonglei&quot;: &quot;金水&quot;, //同类为金水
&quot;yilei&quot;: &quot;木火土&quot;, //异类为木火土
&quot;rizhu_tiangan&quot;: &quot;水&quot; //命主五行属水
&quot;zidang&quot;: 0, //自党分
&quot;yidang&quot;: 9, //异党分
&quot;zidang_percent&quot;: &quot;0%&quot;, //自党占百分比
&quot;yidang_percent&quot;: &quot;100%&quot;,//异党占百分比
&quot;jin_score&quot;: 75, //五行金能量分数
&quot;mu_score&quot;: 16, //五行木能量分数
&quot;shui_score&quot;: 118,//五行水能量分数
&quot;huo_score&quot;: 36,//五行火能量分数
&quot;tu_score&quot;: 139,//五行土能量分数
&quot;jin_score_percent&quot;: &quot;19.53%&quot;, //五行金能量占比
&quot;mu_score_percent&quot;: &quot;4.17%&quot;, //五行木能量占比
&quot;shui_score_percent&quot;: &quot;30.73%&quot;, //五行水能量占比
&quot;huo_score_percent&quot;: &quot;9.38%&quot;, //五行火能量占比
&quot;tu_score_percent&quot;: &quot;36.2%&quot;, //五行土能量占比
&quot;yinyang&quot;: &quot;阴阳平衡&quot; //五行阴阳参考
},
&quot;detail_info&quot;: {
&quot;dayun_info&quot;: [ //排大运 农历
{
&quot;dayun_index&quot;: 1, //第1轮大运
&quot;dayun_start_year&quot;: 1996, //大运起始年(包含)
&quot;dayun_start_age&quot;: 3, //大运起始年龄(即岁数,包含)。
&quot;dayun_end_year&quot;: 2005, //大运结束年(包含)。
&quot;dayun_end_age&quot;: 12, //大运结束年龄(即岁数,包含)。
&quot;dayun_start_ganzhi&quot;: &quot;己巳&quot;, //大运起始年的干支。
&quot;dayun_xun&quot;: &quot;甲子&quot;, //该大运所在旬。
&quot;dayun_kongwang&quot;: &quot;戌亥&quot;, //空亡
&quot;dayun_shishen&quot;: &quot;伤官&quot;, //第1轮大运十神
&quot;dayun_changsheng&quot;: &quot;临官&quot;, //第1轮大运长生
&quot;dayun_year_tg&quot;: &quot;甲&quot;, //大运年天干
&quot;dayun_year_dz&quot;: &quot;子&quot;, //大运年地支
&quot;dayun_year_cg&quot;: [ //大运年地支藏干
&quot;癸&quot;
],
&quot;dayun_year_tg_god&quot;: &quot;食神&quot;, //大运年天干十神
&quot;dayun_year_dz_god&quot;: [ //大运年地支十神
&quot;劫财&quot;
],
&quot;dayun_dz_star_cs&quot;: &quot;帝旺&quot;, //大运年地支十二长生|星运
&quot;dayun_dz_self_cs&quot;: &quot;沐浴&quot;, //大运年地支十二长生|自坐
&quot;dayun_nayin&quot;: &quot;海中金&quot;, //纳音
&quot;dayun_wuxing&quot;: &quot;木水&quot;, //大运年天干地支五行
&quot;dayun_tg_liuyi&quot;: &quot;癸甲相生 壬乙相生&quot;, //大运天干留意
&quot;dayun_dz_liuyi&quot;: &quot;子拱亥 子辰半合水局 辰辰自刑&quot;, //大运地支留意
&quot;liunian_info&quot;: [ //排流年 农历
{
&quot;liunian_index&quot;: 0, //流年位于当前大运中的序号(数字,0-9)。
&quot;liunian_year&quot;: 1996,
&quot;liunian_age&quot;: 3,
&quot;liunian_ganzhi&quot;: &quot;丙子&quot;,
&quot;liunian_xun&quot;: &quot;甲戌&quot;,
&quot;liunian_kongwang&quot;: &quot;申酉&quot;,
&quot;liunian_shishen&quot;: &quot;比肩&quot;,
&quot;liunian_changsheng&quot;: &quot;胎&quot;,
&quot;liunian_jieqi&quot;: [{ //流年12节气
&quot;jieqi_name&quot;: &quot;立春&quot;, //流年节气名
&quot;jieqi_solar_ymdhms&quot;: &quot;1994-02-04 09:30:56&quot;, //流年节气阳历信息
&quot;jieqi_lunar_ymdhms_isleap&quot;: &quot;0&quot;, //流年节气阴历是否闰月,0否,1是
&quot;jieqi_lunar_ymdhms&quot;: &quot;1993-12-24 09:30:56&quot; //流年节气阴历信息
}, {
&quot;jieqi_name&quot;: &quot;惊蛰&quot;,
......
}, {
&quot;jieqi_name&quot;: &quot;清明&quot;,
......
}, {
&quot;jieqi_name&quot;: &quot;立夏&quot;,
......
}, {
&quot;jieqi_name&quot;: &quot;芒种&quot;,
......
}, {
&quot;jieqi_name&quot;: &quot;小暑&quot;,
......
}, {
&quot;jieqi_name&quot;: &quot;立秋&quot;,
......
},
......
{
&quot;jieqi_name&quot;: &quot;小寒&quot;,
&quot;jieqi_solar_ymdhms&quot;: &quot;1995-01-06 03:34:05&quot;,
&quot;jieqi_lunar_ymdhms_isleap&quot;: &quot;0&quot;,
&quot;jieqi_lunar_ymdhms&quot;: &quot;1994-12-06 03:34:05&quot;
}],
&quot;liunian_year_tg&quot;: &quot;丙&quot;,
&quot;liunian_year_dz&quot;: &quot;子&quot;,
&quot;liunian_year_cg&quot;: [
&quot;癸&quot;
],
&quot;liunian_tg_god&quot;: &quot;比肩&quot;,
&quot;liunian_dz_god&quot;: [
&quot;正官&quot;
],
&quot;liunian_dz_star_cs&quot;: &quot;胎&quot;,
&quot;liunian_dz_self_cs&quot;: &quot;胎&quot;,
&quot;liunian_nayin&quot;: &quot;涧下水&quot;,
&quot;liunian_wuxing&quot;: &quot;火水&quot;,
&quot;liunian_tg_liuyi&quot;: &quot;庚癸相生 乙庚合化金 壬乙相生&quot;,
&quot;liunian_dz_liuyi&quot;: &quot;午亥暗合 巳亥相冲&quot;,
&quot;liunian_shensha&quot;: &quot;福星 天厨&quot;,
&quot;liuyue_info&quot;: [ //流月信息 农历
{
&quot;liuyue_index&quot;: 0,
&quot;liuyue_month&quot;: &quot;正&quot;,
&quot;liuyue_ganzhi&quot;: &quot;庚寅&quot;,
&quot;liuyue_xun&quot;: &quot;甲申&quot;,
&quot;liuyue_kongwang&quot;: &quot;午未&quot;,
&quot;liuyue_shishen&quot;: &quot;偏财&quot;,
&quot;liuyue_changsheng&quot;: &quot;长生&quot;,
&quot;liuyue_month_tg&quot;: &quot;庚&quot;,
&quot;liuyue_month_dz&quot;: &quot;寅&quot;,
&quot;liuyue_month_cg&quot;: [
&quot;甲&quot;,
&quot;丙&quot;,
&quot;戊&quot;
],
&quot;liuyue_month_tg_god&quot;: &quot;偏财&quot;,
&quot;liuyue_month_dz_god&quot;: [
&quot;偏印&quot;,
&quot;比肩&quot;,
&quot;食神&quot;
],
&quot;liuyue_dz_star_cs&quot;: &quot;长生&quot;,
&quot;liuyue_dz_self_cs&quot;: &quot;绝&quot;,
&quot;liuyue_nayin&quot;: &quot;松柏木&quot;,
&quot;liuyue_wuxing&quot;: &quot;金木&quot;
&quot;liuyue_tg_liuyi&quot;: &quot;乙庚合化金 戊壬相克 壬乙相生&quot;,
&quot;liuyue_dz_liuyi&quot;: &quot;寅午半合火局 寅巳相害&quot;
&quot;liuyue_shensha&quot;: &quot;福星 天厨&quot;, //流月神煞
},
{...}, //第2个流月
{...}, //第3个流月
......
{...}, //第10个流月
{...}, //第11个流月
{...}, //第12个流月
},
{...}, //第二个流年
{...}, //第三个流年
{...},
{...},
{...},
{...},
{...},
{...},
{...},//第十个流年
],
&quot;xiaoyun_info&quot;: [ //小运信息 农历
{
&quot;xiaoyun_index&quot;: 0, //小运位于当前大运中的序号(数字,0-9)。
&quot;xiaoyun_year&quot;: 1996,
&quot;xiaoyun_age&quot;: 3,
&quot;xiaoyun_ganzhi&quot;: &quot;丙申&quot;,
&quot;xiaoyun_xun&quot;: &quot;甲午&quot;,
&quot;xiaoyun_kongwang&quot;: &quot;辰巳&quot;,
&quot;xiaoyun_shishen&quot;: &quot;比肩&quot;,
&quot;xiaoyun_changsheng&quot;: &quot;病&quot;,
&quot;xiaoyun_year_tg&quot;: &quot;戊&quot;,
&quot;xiaoyun_year_dz&quot;: &quot;申&quot;,
&quot;xiaoyun_year_cg&quot;: [
&quot;庚&quot;,
&quot;壬&quot;,
&quot;戊&quot;
],
&quot;xiaoyun_tg_god&quot;: &quot;七杀&quot;,
&quot;xiaoyun_dz_god&quot;: [
&quot;偏印&quot;,
&quot;比肩&quot;,
&quot;七杀&quot;
],
&quot;xiaoyun_dz_star_cs&quot;: &quot;长生&quot;,
&quot;xiaoyun_dz_self_cs&quot;: &quot;病&quot;,
&quot;xiaoyun_nayin&quot;: &quot;大驿土&quot;,
&quot;xiaoyun_wuxing&quot;: &quot;土金&quot;,
&quot;xiaoyun_tg_liuyi&quot;: &quot;戊癸合化火 戊壬相克 壬乙相生&quot;,
&quot;xiaoyun_dz_liuyi&quot;: &quot;申亥相害 申辰半合水局 巳申合化水 巳亥相冲&quot;
},
{...}, //第二个小运
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...}//第十个小运
],
&quot;dayun_shensha&quot;: &quot;禄神 亡神 干禄&quot; //第1轮大运神煞
},
{
&quot;dayun_index&quot;: 2, //第2轮大运
&quot;dayun_start_year&quot;: 2006,
&quot;dayun_start_age&quot;: 13,
&quot;dayun_end_year&quot;: 2015,
&quot;dayun_end_age&quot;: 22,
&quot;dayun_start_ganzhi&quot;: &quot;庚午&quot;,
&quot;dayun_xun&quot;: &quot;甲子&quot;,
&quot;dayun_kongwang&quot;: &quot;戌亥&quot;,
&quot;dayun_shishen&quot;: &quot;偏财&quot;,
&quot;dayun_changsheng&quot;: &quot;帝旺&quot;,
&quot;liunian_info&quot;: [ //如果请求参数的 dayun_index 是非2值 则这里没有流年信息
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...}
],
&quot;xiaoyun_info&quot;: [ //如果请求参数的 dayun_index 是非2值 则这里没有小运信息
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...}
],
&quot;dayun_shensha&quot;: &quot;天乙 羊刃 福星 将星&quot; //第2轮大运神煞
},
{
...
&quot;liunian_info&quot;: [
{...},
{...}
],
&quot;xiaoyun_info&quot;: [
{...},
{...}
],
&quot;dayun_shensha&quot;: &quot;金舆 流霞&quot; //第3轮大运神煞
},
{
...
&quot;liunian_info&quot;: [
{...},
{...}
],
&quot;xiaoyun_info&quot;: [
{...},
{...}
],
&quot;dayun_shensha&quot;: &quot;天德 文昌 驿马&quot; //第4轮大运神煞
},
{
......
},
{
...
&quot;liunian_info&quot;: [
{...},
{...}
],
&quot;xiaoyun_info&quot;: [
{...},
{...}
],
&quot;dayun_shensha&quot;: &quot;月德 国印&quot; //第9轮大运神煞
}
],
&quot;dayun_born_info&quot;:{// 出生年到第一个大运年期间每一年的数据(童限)
{...}, //字段跟大运dayun_info内容一致,区别在于dayun_info是排大运,dayun_born_info是从出生年到第一个大运年之间几年数据
}
&quot;sizhu_info&quot;: { //四柱信息
&quot;year&quot;: { //年柱信息
&quot;tg_god&quot;: &quot;偏印&quot;, //年天干十神|主星
&quot;tg&quot;: &quot;甲&quot;, //年天干
&quot;dz&quot;: &quot;戌&quot;, //年地支
&quot;cg&quot;: [ //年藏干(跟地支十神|副星一一对应)
&quot;戊&quot;,
&quot;辛&quot;,
&quot;丁&quot;
],
&quot;dz_god&quot;: [ //年地支十神|副星(跟年藏干一一对应)
&quot;食神&quot;,
&quot;正财&quot;,
&quot;劫财&quot;
],
&quot;dz_star_cs&quot;: &quot;墓&quot;,//年地支十二长生|星运
&quot;dz_self_cs&quot;: &quot;养&quot;,//年地支十二长生|自坐
&quot;kw&quot;: &quot;申酉&quot;, //空亡
&quot;ny&quot;: &quot;山头火&quot;, //纳音
&quot;wx&quot;: &quot;木土&quot;, //五行
&quot;xun&quot;: &quot;甲戌&quot;, //年柱所在旬
&quot;shensha&quot;: &quot;空亡 国印 华盖&quot; //年柱神煞
},
&quot;month&quot;: { //月柱信息
&quot;tg_god&quot;: &quot;食神&quot;, //参考上面
&quot;tg&quot;: &quot;戊&quot;,
&quot;dz&quot;: &quot;辰&quot;,
&quot;cg&quot;: [
&quot;戊&quot;,
&quot;乙&quot;,
&quot;癸&quot;
],
&quot;dz_god&quot;: [
&quot;食神&quot;,
&quot;正印&quot;,
&quot;正官&quot;
],
&quot;dz_star_cs&quot;: &quot;冠带&quot;,
&quot;dz_self_cs&quot;: &quot;冠带&quot;,
&quot;kw&quot;: &quot;戌亥&quot;,
&quot;ny&quot;: &quot;大林木&quot;,
&quot;wx&quot;: &quot;土土&quot;,
&quot;xun&quot;: &quot;甲子&quot;,
&quot;shensha&quot;: &quot;空亡&quot; //月柱神煞
},
&quot;day&quot;: { //日柱信息
&quot;tg_god&quot;: &quot;日主&quot;,
&quot;tg&quot;: &quot;丙&quot;,
&quot;dz&quot;: &quot;戌&quot;,
&quot;cg&quot;: [
&quot;戊&quot;,
&quot;辛&quot;,
&quot;丁&quot;
],
&quot;dz_god&quot;: [
&quot;食神&quot;,
&quot;正财&quot;,
&quot;劫财&quot;
],
&quot;dz_star_cs&quot;: &quot;墓&quot;,
&quot;dz_self_cs&quot;: &quot;墓&quot;,
&quot;kw&quot;: &quot;午未&quot;,
&quot;ny&quot;: &quot;屋上土&quot;,
&quot;wx&quot;: &quot;火土&quot;,
&quot;xun&quot;: &quot;甲申&quot;,
&quot;shensha&quot;: &quot;空亡 天罗 国印 华盖&quot; //日柱神煞
},
&quot;hour&quot;: { //时柱信息
&quot;tg_god&quot;: &quot;正官&quot;,
&quot;tg&quot;: &quot;癸&quot;,
&quot;dz&quot;: &quot;巳&quot;,
&quot;cg&quot;: [
&quot;丙&quot;,
&quot;庚&quot;,
&quot;戊&quot;
],
&quot;dz_god&quot;: [
&quot;比肩&quot;,
&quot;偏财&quot;,
&quot;食神&quot;
],
&quot;dz_star_cs&quot;: &quot;临官&quot;,
&quot;dz_self_cs&quot;: &quot;胎&quot;,
&quot;kw&quot;: &quot;午未&quot;,
&quot;ny&quot;: &quot;长流水&quot;,
&quot;wx&quot;: &quot;水火&quot;,
&quot;xun&quot;: &quot;甲申&quot;,
&quot;shensha&quot;: &quot;禄神 文昌 天厨 亡神 红鸾 干禄&quot; //时柱神煞
}
}
&quot;taishen_info&quot;: { //胎命身信息
&quot;taiyuan&quot;: { //胎元信息
&quot;ganzhi&quot;: &quot;癸巳&quot;,
&quot;xun&quot;: &quot;甲申&quot;,
&quot;kongwang&quot;: &quot;午未&quot;,
&quot;changsheng&quot;: &quot;临官&quot;,
&quot;gan&quot;: &quot;癸&quot;,
&quot;zhi&quot;: &quot;巳&quot;,
&quot;dz_cg&quot;: [
&quot;丙&quot;,
&quot;庚&quot;,
&quot;戊&quot;
],
&quot;tg_god&quot;: &quot;正财&quot;,
&quot;dz_god&quot;: [
&quot;偏印&quot;,
&quot;食神&quot;,
&quot;比肩&quot;
],
&quot;dz_star_cs&quot;: &quot;临官&quot;,
&quot;dz_self_cs&quot;: &quot;胎&quot;,
&quot;nayin&quot;: &quot;长流水&quot;,
&quot;wuxing&quot;: &quot;水火&quot;,
&quot;tg_liuyi&quot;: &quot;丁癸相冲 丁壬合化木 壬乙相生&quot;,
&quot;dz_liuyi&quot;: &quot;巳亥相冲&quot;,
&quot;shensha&quot;: &quot;天乙 太极 禄神 流霞 劫煞 日贵&quot;
},
&quot;taixi&quot;: { //胎息信息
&quot;ganzhi&quot;: &quot;癸巳&quot;,
&quot;xun&quot;: &quot;甲申&quot;,
&quot;kongwang&quot;: &quot;午未&quot;,
&quot;changsheng&quot;: &quot;临官&quot;,
&quot;gan&quot;: &quot;癸&quot;,
&quot;zhi&quot;: &quot;巳&quot;,
&quot;dz_cg&quot;: [
&quot;丙&quot;,
&quot;庚&quot;,
&quot;戊&quot;
],
&quot;tg_god&quot;: &quot;正财&quot;,
&quot;dz_god&quot;: [
&quot;偏印&quot;,
&quot;食神&quot;,
&quot;比肩&quot;
],
&quot;dz_star_cs&quot;: &quot;临官&quot;,
&quot;dz_self_cs&quot;: &quot;胎&quot;,
&quot;nayin&quot;: &quot;长流水&quot;,
&quot;wuxing&quot;: &quot;水火&quot;,
&quot;tg_liuyi&quot;: &quot;丁癸相冲 丁壬合化木 壬乙相生&quot;,
&quot;dz_liuyi&quot;: &quot;巳亥相冲&quot;,
&quot;shensha&quot;: &quot;天乙 太极 禄神 流霞 劫煞 日贵&quot;
},
&quot;minggong&quot;: { //命宫信息
&quot;ganzhi&quot;: &quot;癸卯&quot;,
&quot;xun&quot;: &quot;甲午&quot;,
&quot;kongwang&quot;: &quot;辰巳&quot;,
&quot;changsheng&quot;: &quot;沐浴&quot;,
&quot;gan&quot;: &quot;癸&quot;,
&quot;zhi&quot;: &quot;卯&quot;,
&quot;dz_cg&quot;: [
&quot;乙&quot;
],
&quot;tg_god&quot;: &quot;正财&quot;,
&quot;dz_god&quot;: [
&quot;正官&quot;
],
&quot;dz_star_cs&quot;: &quot;沐浴&quot;,
&quot;dz_self_cs&quot;: &quot;长生&quot;,
&quot;nayin&quot;: &quot;金箔金&quot;,
&quot;wuxing&quot;: &quot;水木&quot;,
&quot;tg_liuyi&quot;: &quot;丁癸相冲 丁壬合化木 壬乙相生&quot;,
&quot;dz_liuyi&quot;: &quot;巳亥相冲&quot;,
&quot;shensha&quot;: &quot;天乙 福星 日贵&quot;
},
&quot;shengong&quot;: { //身宫信息
&quot;ganzhi&quot;: &quot;癸卯&quot;,
&quot;xun&quot;: &quot;甲午&quot;,
&quot;kongwang&quot;: &quot;辰巳&quot;,
&quot;changsheng&quot;: &quot;沐浴&quot;,
&quot;gan&quot;: &quot;癸&quot;,
&quot;zhi&quot;: &quot;卯&quot;,
&quot;dz_cg&quot;: [
&quot;乙&quot;
],
&quot;tg_god&quot;: &quot;正财&quot;,
&quot;dz_god&quot;: [
&quot;正官&quot;
],
&quot;dz_star_cs&quot;: &quot;沐浴&quot;,
&quot;dz_self_cs&quot;: &quot;长生&quot;,
&quot;nayin&quot;: &quot;金箔金&quot;,
&quot;wuxing&quot;: &quot;水木&quot;,
&quot;tg_liuyi&quot;: &quot;丁癸相冲 丁壬合化木 壬乙相生&quot;,
&quot;dz_liuyi&quot;: &quot;巳亥相冲&quot;,
&quot;shensha&quot;: &quot;天乙 福星 日贵&quot;
}
}
}
}
}</code></pre>
<h3>失败返回样例</h3>
<pre><code class="language-json">{
&quot;msg&quot;: &quot;姓名不能为空&quot;,
&quot;code&quot;: 400
}</code></pre>
<h3>返回字段说明</h3>
<table>
<thead>
<tr>
<th>字段名</th>
<th><div style="width:400px">说明</div></th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>返回码,详见返回码说明</td>
</tr>
<tr>
<td>msg</td>
<td>code对应的描述</td>
</tr>
<tr>
<td>charge</td>
<td>计费标志</td>
</tr>
<tr>
<td>taskNo</td>
<td>本次请求号</td>
</tr>
<tr>
<td>data</td>
<td>返回具体结果,详见成功返回样例</td>
</tr>
</tbody>
</table>
<h3>code返回码说明</h3>
<table>
<thead>
<tr>
<th>code</th>
<th><div style="width:400px">说明</div></th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>成功(计费)</td>
</tr>
<tr>
<td>400</td>
<td>参数错误</td>
</tr>
<tr>
<td>404</td>
<td>请求地址不正确</td>
</tr>
<tr>
<td>500</td>
<td>服务商维护,请稍候再试</td>
</tr>
<tr>
<td>601</td>
<td>接口未开通</td>
</tr>
<tr>
<td>602</td>
<td>账号停用</td>
</tr>
<tr>
<td>603</td>
<td>余额不足请充值</td>
</tr>
<tr>
<td>604</td>
<td>接口停用</td>
</tr>
<tr>
<td>606</td>
<td>调用超限,请稍候再试</td>
</tr>
<tr>
<td>607</td>
<td>ip不在白名单</td>
</tr>
<tr>
<td>609</td>
<td>请求过于频繁,请稍候再试</td>
</tr>
<tr>
<td>610</td>
<td>请求超时</td>
</tr>
<tr>
<td>999</td>
<td>其他,以实际返回为准</td>
</tr>
</tbody>
</table>