Files
----/前端源码/uni-app/wealth-analysis-api-spec.json

589 lines
15 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"description": "财运解析页面 - 接口参数规范",
"endpoint": "/yifan_naming_solutions/wealth_analysis/{solution_id}",
"method": "GET",
"response": {
"basicInfo": {
"gender": "女",
"genderType": "坤造 (女命)",
"solarDateTime": "1997年10月5日 19:48",
"lunarDate": "丁丑年九月初四 戌时",
"taiyuan": "庚子 (壁上土)",
"minggong": "己酉 (大驿土)",
"kongwang": "申酉 (年/日)"
},
"karma": {
"pastLife": {
"icon": "史",
"title": "前世印记",
"description": "您前世多半是书香门第或修行之人,故今生悟性极高,对玄学、哲学有天然亲近感。",
"highlights": [
"书香门第或修行之人"
]
},
"currentLife": {
"icon": "灯",
"title": "今生课题",
"description": "修""与""。因八字金气过旺,言语易伤人而不自知,需修柔和之气。",
"highlights": [
"口德",
"包容"
]
}
},
"baziPillars": [
{
"title": "年柱",
"gan": "丁",
"zhi": "丑",
"god": "正官",
"hidden": [
"己:正印",
"辛:劫财",
"癸:伤官"
],
"stage": "墓",
"active": false
},
{
"title": "月柱",
"gan": "己",
"zhi": "酉",
"god": "正印",
"hidden": [
"辛:劫财"
],
"stage": "帝旺",
"active": false
},
{
"title": "日柱",
"gan": "庚",
"zhi": "辰",
"god": "日主",
"hidden": [
"戊:枭神",
"乙:正财",
"癸:伤官"
],
"stage": "养",
"active": true
},
{
"title": "时柱",
"gan": "丙",
"zhi": "戌",
"god": "七杀",
"hidden": [
"戊:枭神",
"辛:劫财",
"丁:正官"
],
"stage": "衰",
"active": false
}
],
"destinyGrade": {
"level": "上等",
"pattern": "正官佩印格",
"description": """此命格主贵气,利于公职、管理。一生多得贵人扶持,逢凶化吉。"
},
"classicalText": {
"poems": [
"""",
"""",
""""
]
}
}
},
"qimen": {
"title": "阳遁六局 · 值符天辅",
"cells": [
{
"location": "SE",
"spirit": "九地",
"star": "天辅",
"door": "杜门",
"stems": [
"乙",
"庚"
],
"gong": "巽",
"center": false
},
{
"location": "S",
"spirit": "玄武",
"star": "天英",
"door": "景门",
"stems": [
"壬",
"丁"
],
"gong": "离",
"center": false
},
{
"location": "SW",
"spirit": "白虎",
"star": "天芮",
"door": "死门",
"stems": [
"丁",
"壬"
],
"gong": "坤",
"center": false
},
{
"location": "E",
"spirit": "九天",
"star": "天冲",
"door": "伤门",
"stems": [
"丙",
"戊"
],
"gong": "震",
"center": false
},
{
"center": true
},
{
"location": "W",
"spirit": "六合",
"star": "天柱",
"door": "惊门",
"stems": [
"庚",
"乙"
],
"gong": "兑",
"center": false
},
{
"location": "NE",
"spirit": "直符",
"star": "天任",
"door": "生门",
"stems": [
"戊",
"丙"
],
"gong": "艮",
"center": false
},
{
"location": "N",
"spirit": "腾蛇",
"star": "天蓬",
"door": "休门",
"stems": [
"癸",
"辛"
],
"gong": "坎",
"center": false
},
{
"location": "NW",
"spirit": "太阴",
"star": "天心",
"door": "开门",
"stems": [
"辛",
"癸"
],
"gong": "乾",
"center": false
}
],
"analysis": [
{
"title": "【戊加壬】",
"content": "为「青龙入天牢」,凡阴阳皆不吉利。主田宅文书失落,官司破财,小凶。"
},
{
"title": "【杜门加死】",
"content": "主田宅文书失落,官司破财,小凶。杜门加壬,主奸盗事,凶。"
},
{
"title": "【天心值戌时】",
"content": "主南方喊叫有贼,小儿牵牛至为应。作用后百日内生贵子,金鸡石上鸣,无故犬吠,二年后中科第。"
},
{
"title": "【门宫卦:风地观】",
"content": "观者,观也,观国之光,为游子之卦体,出行吉利,坐守困穷。问婚则旅游结婚。"
}
]
},
"elementScores": [
{
"label": "金 (同类 · 极旺)",
"score": "3.008",
"width": "60%",
"color": "#e5e7eb"
},
{
"label": "土 (同类 · 旺)",
"score": "2.500",
"width": "50%",
"color": "#ca8a04"
},
{
"label": "火 (异类 · 中)",
"score": "2.200",
"width": "44%",
"color": "#ef4444"
},
{
"label": "水 (异类 · 弱)",
"score": "0.600",
"width": "12%",
"color": "#3b82f6"
},
{
"label": "木 (异类 · 极弱)",
"score": "0.300",
"width": "6%",
"color": "#22c55e"
}
],
"masterNote": "日主庚金生于酉月,得令而旺。取土(印)化官杀而生身,形成官印相生格。八字身强,喜克泄耗,忌土金助身。",
"elementAdvice": [
{
"category": "五行",
"good": "木、火",
"bad": "土、金"
},
{
"category": "颜色",
"good": "绿、红、紫",
"bad": "黄、白、金"
},
{
"category": "方位",
"good": "正东、正南",
"bad": "中宫、正西"
},
{
"category": "数字",
"good": "3, 4, 9",
"bad": "5, 6, 7, 8"
}
],
"personality": {
"main": {
"title": "主性格:正官格",
"description": "为人正直,做事循规蹈矩,重视名誉地位,有时过于保守,缺乏变通。"
},
"blindSpot": {
"title": "潜在盲点:七杀暗藏",
"description": "内心深处有叛逆因子,压力大时易爆发极端情绪,需注意情绪疏导。"
}
},
"career": {
"industries": [
"房地产",
"金融",
"法律",
"五金"
],
"wealthLevel": {
"grade": "小富之命 (A级)",
"description": "一生衣食无忧,中晚年财库丰盈。"
}
},
"marriage": {
"spouseStar": "丁火 · 坐库",
"marriagePalace": "辰土 · 偏印",
"masterNote": "夫星得位,丈夫能力强,多为公职或管理人员。但日坐偏印,夫妻沟通易有隔阂,且辰戌相冲(时支冲夫宫),晚婚为宜,早婚易有波折。"
},
"health": [
{
"element": "金气过旺",
"risks": "呼吸系统、肺部、皮肤"
},
{
"element": "木气极弱",
"risks": "肝胆、免疫力、神经系统"
}
],
"wealthRadar": {
"labels": [
"赚钱",
"投资",
"守财",
"抗险",
"偏财"
],
"scores": [
"S",
"A",
"A",
"B",
"S"
]
},
"wealthBars": [
{
"label": "赚钱爆发力",
"score": 98,
"width": "98%",
"color": "#d4af37"
},
{
"label": "守财稳健度",
"score": 85,
"width": "85%",
"color": "#eab308"
},
{
"label": "投资敏锐度",
"score": 78,
"width": "78%",
"color": "#60a5fa"
}
],
"shensha": [
{
"name": "天乙贵人",
"position": "月柱",
"level": "吉"
},
{
"name": "文昌贵人",
"position": "月柱",
"level": "吉"
},
{
"name": "月德贵人",
"position": "日柱",
"level": "吉"
},
{
"name": "红艳煞",
"position": "时柱",
"level": "平"
},
{
"name": "寡宿",
"position": "时柱",
"level": "凶"
}
],
"dayun": [
{
"name": "庚戌",
"range": "1-10岁",
"desc": "土金相生,金气更旺。日主得助,童年生活安稳。",
"current": false
},
{
"name": "辛亥",
"range": "11-20岁",
"desc": "金水相生,伤官透出。思维活跃,学业上有钻研精神。",
"current": false
},
{
"name": "壬子",
"range": "21-30岁",
"desc": "【当前大运】水势旺盛,伤官成局。主事业上易有突破,靠才智技术谋生。",
"current": true
},
{
"name": "癸丑",
"range": "31-40岁",
"desc": "土水相杂,印星制伤。运势趋于稳重,易有职务提升。",
"current": false
}
],
"taisui": {
"name": "吴遂",
"title": "乙巳年值年太岁",
"description": "吴遂大将军,字至道。乙巳太岁,在东南方。信条:赏罚分明,无私无畏。",
"note": "您本年刑太岁。建议年初八拜太岁,或在钱包内放置一张""化解。"
},
"annualAnalysis": {
"year": "2025",
"ganzhi": "乙巳",
"age": 28,
"tianGan": {
"element": "乙木",
"star": "正财星 · 透出"
},
"diZhi": {
"element": "巳火",
"star": "七杀星 · 暗藏"
},
"pattern": "财官相生局 · 犯太岁 (刑)",
"aspects": [
{
"category": "事业",
"status": "升职期"
},
{
"category": "感情",
"status": "暗桃花"
},
{
"category": "健康",
"status": "防炎症"
}
],
"monthlyTrend": [
40,
45,
60,
80,
95,
70,
65,
85,
90,
55,
50,
60
]
},
"yearlyStars": [
{
"name": "流年禄神",
"isBad": false
},
{
"name": "流年天乙",
"isBad": false
},
{
"name": "流年红鸾",
"isBad": false
},
{
"name": "流年金舆",
"isBad": false
},
{
"name": "流年羊刃",
"isBad": true
},
{
"name": "流年丧门",
"isBad": true
},
{
"name": "流年吊客",
"isBad": true
},
{
"name": "流年官符",
"isBad": true
}
],
"roleAdvice": [
{
"icon": "职",
"title": "职场 / 公务员",
"description": "官星透出,利于升职考核。但要注意和上司的关系,容易因为意见不合而产生隔阂。建议多做少说,以退为进。",
"bgColor": "rgba(59,130,246,0.2)",
"textColor": "#60a5fa"
},
{
"icon": "财",
"title": "经商 / 创业者",
"description": "财源不错,但开销也大。今年适合稳扎稳打,不宜盲目扩张。特别注意合同细节,防止因为文书错误导致破财。",
"bgColor": "rgba(212,175,55,0.2)",
"textColor": "#d4af37"
},
{
"icon": "学",
"title": "学生 / 进修者",
"description": "文昌位在东南,利于考试。如果在东南方安放书桌,学习效率会事半功倍。适合考证、考研。",
"bgColor": "rgba(34,197,94,0.2)",
"textColor": "#4ade80"
}
],
"directions": {
"lucky": [
"东北",
"正南",
"东南"
],
"unlucky": [
"西南",
"中宫"
],
"compass": {
"north": "正北",
"south": "正南 (喜神)",
"east": "正东",
"west": "正西",
"northeast": "东北 (正财)",
"southeast": "东南 (文昌)",
"southwest": "西南 (病符)",
"northwest": "西北"
}
},
"incomeSource": {
"mainJob": 65,
"sideJob": 20,
"investment": 15
},
"investment": {
"good": "文化传媒、教育培训、林业",
"bad": "水产养殖、远洋运输、酒水"
},
"flyingStars": [
{
"number": 4,
"isGood": false
},
{
"number": 9,
"isGood": true
},
{
"number": 2,
"isGood": false
},
{
"number": 3,
"isGood": false
},
{
"number": 5,
"isGood": false
},
{
"number": 7,
"isGood": false
},
{
"number": 8,
"isGood": true
},
{
"number": 1,
"isGood": true
},
{
"number": 6,
"isGood": true
}
],
"misfortuneBreaker": [
{
"title": "犯太岁 (刑)",
"description": "今年与太岁相刑,易有是非口舌。建议立春后捐血或洗牙,以化解""。",
"severity": "high"
},
{
"title": "白虎煞",
"description": "注意交通安全,避免从事高风险运动。车内可挂平安符。",
"severity": "medium"
}
]
}
}