From 67062c1930e1680bf547b68dc7e475e16ce4d2fd Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Wed, 23 May 2018 13:46:43 +0800 Subject: [PATCH] add risk record authority --- .../com/royalpay/payment/manage/risk/web/RiskController.java | 3 ++- .../analysis/monitoring/templates/analysis_monitoring.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java b/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java index 7c8441fdc..29593cfa7 100644 --- a/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java +++ b/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java @@ -8,6 +8,7 @@ import au.com.royalpay.payment.manage.risk.bean.QueryRiskOrder; import au.com.royalpay.payment.manage.risk.bean.QueryRiskRecord; import au.com.royalpay.payment.manage.risk.core.RiskMerchantService; import au.com.royalpay.payment.tools.CommonConsts; +import au.com.royalpay.payment.tools.permission.enums.ManagerRole; import com.alibaba.fastjson.JSONObject; @@ -24,7 +25,7 @@ import javax.annotation.Resource; * Created by wangning on 08/12/2016. */ @RestController -@ManagerMapping(value = "/sys/risk") +@ManagerMapping(value = "/sys/risk",role = {ManagerRole.ADMIN,ManagerRole.OPERATOR}) public class RiskController { @Resource 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 c4dabdde7..692c46047 100644 --- a/src/main/ui/static/analysis/monitoring/templates/analysis_monitoring.html +++ b/src/main/ui/static/analysis/monitoring/templates/analysis_monitoring.html @@ -19,7 +19,7 @@
  • 欠款|Pre Refund
  • -
  • +
  • 风控记录|Risk Records