From 0bb6ad8e0888c67f8fc6e71f11a8826193675d1e Mon Sep 17 00:00:00 2001 From: hellolujian <1370256381@qq.com> Date: Wed, 10 Oct 2018 09:07:08 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A3=8E?= =?UTF-8?q?=E6=8E=A7=E4=B8=9A=E5=8A=A1=E6=B5=81=E7=A8=8B=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../riskbusiness/RiskBusinessController.java | 22 +++++++++++++++++++ .../templates/analysis_monitoring.html | 4 ++++ src/main/ui/static/analysis/risk_business.js | 22 +++++++++++++++++++ .../analysis/templates/risk_business.html | 10 +++++++++ 4 files changed, 58 insertions(+) create mode 100644 src/main/java/au/com/royalpay/payment/manage/riskbusiness/RiskBusinessController.java create mode 100644 src/main/ui/static/analysis/risk_business.js create mode 100644 src/main/ui/static/analysis/templates/risk_business.html diff --git a/src/main/java/au/com/royalpay/payment/manage/riskbusiness/RiskBusinessController.java b/src/main/java/au/com/royalpay/payment/manage/riskbusiness/RiskBusinessController.java new file mode 100644 index 000000000..4eed4d1f4 --- /dev/null +++ b/src/main/java/au/com/royalpay/payment/manage/riskbusiness/RiskBusinessController.java @@ -0,0 +1,22 @@ +package au.com.royalpay.payment.manage.riskbusiness; + +import au.com.royalpay.payment.manage.permission.manager.ManagerMapping; +import au.com.royalpay.payment.tools.permission.enums.ManagerRole; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author lvjian + * @Date 2018/10/10 1:12 + */ +@RestController +@RequestMapping("/risk/business/") +public class RiskBusinessController { + + @ManagerMapping(value = "registration", method = RequestMethod.GET, role = {ManagerRole.OPERATOR, ManagerRole.ADMIN}) + public String testHello() { + return "Hello"; + } +} + diff --git a/src/main/ui/static/analysis/monitoring/templates/analysis_monitoring.html b/src/main/ui/static/analysis/monitoring/templates/analysis_monitoring.html index 7ebb4c4ff..69b0c0df7 100644 --- a/src/main/ui/static/analysis/monitoring/templates/analysis_monitoring.html +++ b/src/main/ui/static/analysis/monitoring/templates/analysis_monitoring.html @@ -23,6 +23,10 @@ 风控记录|Risk Records +