Explorar el Código

空亡 纳音 十神 BUG 修改

zhangbin hace 1 año
padre
commit
cc67d86630

+ 12 - 0
xpgx-common/src/main/java/com/miaxis/common/config/ShiShenConfig.java

@@ -57,6 +57,10 @@ public class ShiShenConfig {
     //喜用
     private Map<String, List> xiYong = new TreeMap<String, List>();
 
+    //喜用的数字
+    private Map<String, String> xiNumber = new TreeMap<String, String>();
+
+
     @PostConstruct
     public void init() {
 
@@ -463,6 +467,14 @@ public class ShiShenConfig {
         shuiR.add("金");
         xiYong.put("水弱",shuiR);
 
+        //喜用的号码
+        xiNumber.put("水","1,6");
+        xiNumber.put("火","2,7");
+        xiNumber.put("木","3,8");
+        xiNumber.put("金","4,9");
+        xiNumber.put("土","5,0");
+
+
     }
 
 

+ 3 - 0
xpgx-service/src/main/java/com/miaxis/gan/service/impl/GanZhiServiceImpl.java

@@ -403,6 +403,9 @@ public class GanZhiServiceImpl extends ServiceImpl<GanZhiMapper, GanZhi> impleme
 
         System.out.println("喜用:" + xiYong);
 
+
+
+
         return score;
     }