Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡慧
cash-loan-flow-boss
Commits
da3d0886
Commit
da3d0886
authored
Aug 21, 2019
by
suntao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口添加权限注解
parent
2b0a1c0a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ChannelConfController.java
...lowboss/api/channel/controller/ChannelConfController.java
+2
-0
OrderController.java
...ashloanflowboss/api/order/controller/OrderController.java
+2
-0
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/channel/controller/ChannelConfController.java
View file @
da3d0886
...
...
@@ -2,6 +2,7 @@ package cn.quantgroup.cashloanflowboss.api.channel.controller;
import
cn.quantgroup.cashloanflowboss.api.channel.model.ChannelConfVo
;
import
cn.quantgroup.cashloanflowboss.api.channel.service.ChannelConfService
;
import
cn.quantgroup.cashloanflowboss.component.security.annotiation.Security
;
import
cn.quantgroup.cashloanflowboss.core.annotation.ChannelIdInit
;
import
cn.quantgroup.cashloanflowboss.core.annotation.CheckChannelRole
;
import
cn.quantgroup.cashloanflowboss.core.base.Result
;
...
...
@@ -32,6 +33,7 @@ public class ChannelConfController {
* @param pageSize
* @return
*/
@Security
(
authorityId
=
"Channel.getChannelInfo"
)
@ChannelIdInit
@PostMapping
(
"/info"
)
public
Result
channelInfo
(
Long
channelId
,
Integer
pageNumber
,
Integer
pageSize
)
{
...
...
src/main/java/cn/quantgroup/cashloanflowboss/api/order/controller/OrderController.java
View file @
da3d0886
...
...
@@ -4,6 +4,7 @@ import cn.quantgroup.cashloanflowboss.api.order.model.ApproveVo;
import
cn.quantgroup.cashloanflowboss.api.order.model.LendingFormModel
;
import
cn.quantgroup.cashloanflowboss.api.order.model.OrderVo
;
import
cn.quantgroup.cashloanflowboss.api.order.service.OrderService
;
import
cn.quantgroup.cashloanflowboss.component.security.annotiation.Security
;
import
cn.quantgroup.cashloanflowboss.core.annotation.ChannelIdInit
;
import
cn.quantgroup.cashloanflowboss.core.annotation.CheckChannelRole
;
import
cn.quantgroup.cashloanflowboss.core.annotation.CheckChannelRoleByChannelOrderNumber
;
...
...
@@ -37,6 +38,7 @@ public class OrderController {
* @param pageSize
* @return 返回中包含当前订单可操作的 button
*/
@Security
(
authorityId
=
"Order.getOrderList"
)
@ChannelIdInit
@CheckChannelRole
@GetMapping
(
"/list"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment