Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
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
QG
customer-service
Commits
bdf8b38f
Commit
bdf8b38f
authored
Feb 25, 2022
by
yexiong.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
c17ca44c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
ValidOperatePermitFilter.java
...omer/config/http/mvc/filter/ValidOperatePermitFilter.java
+1
-1
VccRest.java
src/main/java/cn/quantgroup/customer/rest/VccRest.java
+8
-0
No files found.
src/main/java/cn/quantgroup/customer/config/http/mvc/filter/ValidOperatePermitFilter.java
View file @
bdf8b38f
...
...
@@ -26,7 +26,7 @@ import java.util.Objects;
* @Desc 鉴权过滤器
* @Update
*/
@WebFilter
(
filterName
=
"operatePermitFilter"
,
urlPatterns
=
{
"/operate/sys/*"
,
"/repay/earlySettleOperate"
})
@WebFilter
(
filterName
=
"operatePermitFilter"
,
urlPatterns
=
{
"/operate/sys/*"
,
"/repay/earlySettleOperate"
,
"/vcc/*"
})
@Slf4j
public
class
ValidOperatePermitFilter
implements
Filter
{
@Autowired
...
...
src/main/java/cn/quantgroup/customer/rest/VccRest.java
View file @
bdf8b38f
...
...
@@ -33,6 +33,7 @@ public class VccRest {
* @return
*/
@PostMapping
(
"/offline_pre_repay/query_page"
)
@OperateLog
(
moduleName
=
"查询用户的待还款信息"
)
public
JsonResult
queryPage
(
@RequestBody
@Valid
UserPreRepayInfoQuery
query
,
BindingResult
bindingResult
){
if
(
bindingResult
.
hasErrors
()){
return
JsonResult
.
buildErrorStateResult
(
bindingResult
.
getFieldError
().
getField
()
+
":"
+
bindingResult
.
getFieldError
().
getDefaultMessage
());
...
...
@@ -60,6 +61,7 @@ public class VccRest {
* @return
*/
@GetMapping
(
"/pre_repay_cal/detail"
)
@OperateLog
(
moduleName
=
"查询分期账单的详情"
)
public
JsonResult
repayPlanDetail
(
@NotNull
String
uniqueId
,
@NotNull
Integer
repayType
){
log
.
info
(
"repayPlanDetail | 查询用户分期的详情及试算详情,uniqueId={},repayType={}"
,
uniqueId
,
repayType
);
try
{
...
...
@@ -79,6 +81,7 @@ public class VccRest {
* @return
*/
@PostMapping
(
"/offline_repay/save_submit"
)
@OperateLog
(
moduleName
=
"保存线下还款的申请记录"
)
public
JsonResult
saveSubmit
(
HttpServletRequest
request
,
@RequestBody@Valid
OfflineRepaySubmitParam
param
,
BindingResult
bindingResult
){
if
(
bindingResult
.
hasErrors
()){
return
JsonResult
.
buildErrorStateResult
(
bindingResult
.
getFieldError
().
getField
()
+
":"
+
bindingResult
.
getFieldError
().
getDefaultMessage
());
...
...
@@ -114,6 +117,7 @@ public class VccRest {
* @return
*/
@GetMapping
(
"/offline_repay/approval"
)
@OperateLog
(
moduleName
=
"审批回显提交的线下还款申请记录"
)
public
JsonResult
approval
(
@NotNull
String
serialNo
){
log
.
info
(
"approval | 开始点击审批按钮查询信息,serialNo={}"
,
serialNo
);
try
{
...
...
@@ -132,6 +136,7 @@ public class VccRest {
* @return
*/
@GetMapping
(
"/approval/detail"
)
@OperateLog
(
moduleName
=
"查看审批流水记录"
)
public
JsonResult
queryApprovalRecord
(
@NotNull
String
serialNo
){
log
.
info
(
"queryApprovalRecord | 开始查看审批流水记录,serialNo={}"
,
serialNo
);
try
{
...
...
@@ -153,6 +158,7 @@ public class VccRest {
* @return
*/
@GetMapping
(
"/approval/result"
)
@OperateLog
(
moduleName
=
"审批结果:通过/拒绝"
)
public
JsonResult
approvalResult
(
HttpServletRequest
request
,
@NotNull
String
serialNo
,
String
remark
,
@NotNull
Integer
status
){
log
.
info
(
"approvalResult | 开始提交审批结果,serialNo={},remark={},status={}"
,
serialNo
,
remark
,
status
);
try
{
...
...
@@ -172,6 +178,7 @@ public class VccRest {
* @return
*/
@PostMapping
(
"/offline_repay_file/upload"
)
@OperateLog
(
moduleName
=
"上传打款凭证"
)
public
JsonResult
fileUpload
(
MultipartFile
file
){
log
.
info
(
"fileUpload | 开始上传打款凭证"
);
try
{
...
...
@@ -190,6 +197,7 @@ public class VccRest {
* @return
*/
@PostMapping
(
"/approval/query_applly_record"
)
@OperateLog
(
moduleName
=
"查询线下还款的申请记录"
)
public
JsonResult
queryApplyRecord
(
@RequestBody@Valid
UserPreRepayInfoQuery
query
,
BindingResult
bindingResult
){
if
(
bindingResult
.
hasErrors
()){
return
JsonResult
.
buildErrorStateResult
(
bindingResult
.
getFieldError
().
getField
()
+
":"
+
bindingResult
.
getFieldError
().
getDefaultMessage
());
...
...
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