he2802 il y a 2 ans
Parent
commit
873f4aa06f

+ 11 - 2
zhongzheng-admin/src/main/java/com/zhongzheng/controller/common/CommonController.java

@@ -393,8 +393,6 @@ public class CommonController
         return AjaxResult.success("成功",dualAuth);
     }
 
-
-
     @ApiOperation("decodeTel")
     @GetMapping("common/free/decodeTel")
     public AjaxResult<String> decodeTel(String key) {
@@ -462,4 +460,15 @@ public class CommonController
         map.put("gzhAppId",gzhAppId);
         return AjaxResult.success(map);
     }
+
+    @ApiOperation("移动端配置参数")
+    @GetMapping("app/common/mobileConfig")
+    public AjaxResult<Map<String,Object>> mobileConfig(ConfigQueryBo bo) {
+        Map<String,Object> map = new HashMap<>();
+        String json = configService.selectConfigByKey("home.mobile");
+        map.put("mobileConfig",json);
+        return AjaxResult.success(map);
+    }
+
+
 }

+ 0 - 1
zhongzheng-api/src/main/java/com/zhongzheng/controller/cmmon/CommonController.java

@@ -194,7 +194,6 @@ public class CommonController extends BaseController {
     }
 
 
-
     @ApiOperation("登录双重验证")
     @GetMapping("/dual_auth")
     public AjaxResult<String> dual_auth() {