From 3ea34525b4cec70d2218ed087d782a0d2b702fc0 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期日, 28 六月 2020 09:23:57 +0800 Subject: [PATCH] # --- src/main/webapp/views/pda/comb.html | 4 ++-- src/main/java/com/zy/asrs/controller/MobileController.java | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java new file mode 100644 index 0000000..9409681 --- /dev/null +++ b/src/main/java/com/zy/asrs/controller/MobileController.java @@ -0,0 +1,26 @@ +package com.zy.asrs.controller; + +import com.core.annotations.ManagerAuth; +import com.core.common.R; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 绉诲姩绔帴鍙f帶鍒跺櫒 + * Created by vincent on 2020/6/10 + */ +@RestController +@RequestMapping("mobile") +public class MobileController { + + /** + * 缁勬墭 + */ + @RequestMapping("/comb/auth") + @ManagerAuth(memo = "缁勬墭") + public R comb(){ + + return R.ok(); + } + +} diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html index c6c36e9..8127d2f 100644 --- a/src/main/webapp/views/pda/comb.html +++ b/src/main/webapp/views/pda/comb.html @@ -112,8 +112,8 @@ <!-- 灏鹃儴 --> <footer> <div class="layui-btn-container"> - <button type="button" class="layui-btn layui-btn-xs" onclick="reset()">閲嶇疆</button> - <button type="button" class="layui-btn layui-btn-normal layui-btn-xs" onclick="comb">缁勬墭</button> + <button type="button" class="layui-btn layui-btn-xs layui-btn-primary" onclick="reset()">閲嶇疆</button> + <button type="button" class="layui-btn layui-btn-normal layui-btn-xs" onclick="comb" style="margin-left: 20px">缁勬墭</button> </div> </footer> </body> -- Gitblit v1.9.1