[feat]初始化风控业务流程模块

master
hellolujian 6 years ago
parent 9b4900cfe0
commit 0bb6ad8e08

@ -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";
}
}

@ -23,6 +23,10 @@
<a ui-sref="analysis_monitoring.risk_manager"><i class="fa fa-tv"></i> <span>风控记录|Risk Records</span></a> <a ui-sref="analysis_monitoring.risk_manager"><i class="fa fa-tv"></i> <span>风控记录|Risk Records</span></a>
</li> </li>
<li ui-sref-active-eq="active" ng-if="('riskBusiness'|withModule)&&(currentUser.org_id==null)&&(currentUser.display_name == 'lujian' || currentUser.display_name == 'zhh')">
<a ui-sref="analysis_monitoring.risk_business"><i class="fa fa-tv"></i> <span>风控业务</span></a>
</li>
</ul> </ul>
</div> </div>
</div> </div>

@ -0,0 +1,22 @@
/**
* Created by lvjian on 2018/10/9.
*/
define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
function (angular, $) {
'use strict';
var app = angular.module('riskBusinessApp', ['ui.router']);
app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('analysis_monitoring.risk_business', {
url: '/risk_business',
templateUrl: '/static/analysis/templates/risk_business.html',
controller: 'riskBusinessCtrl'
})
}]);
app.controller('riskBusinessCtrl', ['$scope', '$http','$filter','chartParser', function ($scope, $http,$filter,chartParser) {
}]);
return app;
});

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
欢迎来到风控业务流程页面
</body>
</html>
Loading…
Cancel
Save