From 40e38ded5899737ce6eb520910b8d834a0d40cc9 Mon Sep 17 00:00:00 2001 From: 6tail <6tail@6tail.cn> Date: Mon, 27 Jul 2020 20:37:31 +0800 Subject: [PATCH] =?UTF-8?q?v1.0.16=20=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E5=9C=B0=E6=94=AF=E5=8D=81=E7=A5=9E=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lunar.js | 26 ++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/lunar.js b/lunar.js index 94606f3..d2f2c1b 100644 --- a/lunar.js +++ b/lunar.js @@ -1123,6 +1123,32 @@ } return l; }, + _getBaZiShiShenZhi:function(zhi){ + var baZi = this.getBaZi(); + var dayGan = baZi[2].substr(0,1); + var hideGan = LunarUtil.ZHI_HIDE_GAN[zhi]; + var l = []; + for(var i=0,j=hideGan.length;i