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";
|
||||
}
|
||||
}
|
||||
|
@ -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…
Reference in new issue