فهرست منبع

会员充值、充值流水

xujunwei 4 سال پیش
والد
کامیت
564a728876

+ 4 - 0
framework-boot/src/main/java/com/mrxu/framework/boot/web/BaseController.java

@@ -27,6 +27,10 @@ public class BaseController {
         return ServletUtils.getRequest();
     }
 
+    public String getIp() {
+        return ServletUtils.getClientIp(getRequest());
+    }
+
     /**
      * 获取请求参数
      */

+ 10 - 0
framework-common/src/main/java/com/mrxu/framework/common/util/MrxuConst.java

@@ -0,0 +1,10 @@
+package com.mrxu.framework.common.util;
+
+public class MrxuConst {
+
+    public static int enable = 1;
+
+    public static int disable = 0;
+
+    public static int zero = 0;
+}