Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
youjj
cloud-platform
Commits
106fad60
Commit
106fad60
authored
Jul 27, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
钱包提现
parent
a63b7168
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
24 deletions
+19
-24
MyWalletController.java
...ithub/wxiaoqi/security/admin/rest/MyWalletController.java
+1
-20
WalletCathAdminController.java
.../security/admin/rest/admin/WalletCathAdminController.java
+18
-4
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/MyWalletController.java
View file @
106fad60
...
@@ -112,17 +112,7 @@ public class MyWalletController {
...
@@ -112,17 +112,7 @@ public class MyWalletController {
}
}
}
}
@PostMapping
(
"/verifyCath"
)
@ApiOperation
(
"提现审核"
)
public
ObjectRestResponse
verifyCath
(
@RequestParam
(
value
=
"cathId"
,
defaultValue
=
"0"
)
Integer
cathId
,
@RequestParam
(
value
=
"cono"
,
defaultValue
=
""
)
String
cono
){
try
{
return
myWalletBiz
.
verifyCath
(
cathId
,
cono
);
}
catch
(
Exception
e
)
{
throw
new
BaseException
(
e
);
}
}
@GetMapping
(
"/txAlipayList"
)
@GetMapping
(
"/txAlipayList"
)
@ApiOperation
(
"获取支付账号列表"
)
@ApiOperation
(
"获取支付账号列表"
)
...
@@ -135,13 +125,4 @@ public class MyWalletController {
...
@@ -135,13 +125,4 @@ public class MyWalletController {
}
}
}
}
}
}
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/admin/WalletCathAdminController.java
View file @
106fad60
package
com
.
github
.
wxiaoqi
.
security
.
admin
.
rest
.
admin
;
package
com
.
github
.
wxiaoqi
.
security
.
admin
.
rest
.
admin
;
import
com.github.wxiaoqi.security.admin.biz.MyWalletBiz
;
import
com.github.wxiaoqi.security.admin.biz.MyWalletCathBiz
;
import
com.github.wxiaoqi.security.admin.biz.MyWalletCathBiz
;
import
com.github.wxiaoqi.security.admin.dto.WalletCathFindDTO
;
import
com.github.wxiaoqi.security.admin.dto.WalletCathFindDTO
;
import
com.github.wxiaoqi.security.admin.vo.WalletCathAdminVo
;
import
com.github.wxiaoqi.security.admin.vo.WalletCathAdminVo
;
import
com.github.wxiaoqi.security.common.exception.BaseException
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
/**
* @author libin
* @author libin
...
@@ -23,11 +24,24 @@ public class WalletCathAdminController {
...
@@ -23,11 +24,24 @@ public class WalletCathAdminController {
@Autowired
@Autowired
private
MyWalletCathBiz
myWalletCathBiz
;
private
MyWalletCathBiz
myWalletCathBiz
;
@Autowired
private
MyWalletBiz
myWalletBiz
;
@GetMapping
(
"/page"
)
@GetMapping
(
"/page"
)
public
ObjectRestResponse
<
PageDataVO
<
WalletCathAdminVo
>>
listWalletCathWithPage
(
WalletCathFindDTO
walletCathFindDTO
){
public
ObjectRestResponse
<
PageDataVO
<
WalletCathAdminVo
>>
listWalletCathWithPage
(
WalletCathFindDTO
walletCathFindDTO
){
PageDataVO
<
WalletCathAdminVo
>
walletCathAdminVoPage
=
myWalletCathBiz
.
listWalletCathWithPage
(
walletCathFindDTO
);
PageDataVO
<
WalletCathAdminVo
>
walletCathAdminVoPage
=
myWalletCathBiz
.
listWalletCathWithPage
(
walletCathFindDTO
);
return
ObjectRestResponse
.
succ
(
walletCathAdminVoPage
);
return
ObjectRestResponse
.
succ
(
walletCathAdminVoPage
);
}
}
@PostMapping
(
"/verifyCath"
)
@ApiOperation
(
"提现审核"
)
public
ObjectRestResponse
verifyCath
(
@RequestParam
(
value
=
"cathId"
,
defaultValue
=
"0"
)
Integer
cathId
,
@RequestParam
(
value
=
"cono"
,
defaultValue
=
""
)
String
cono
){
try
{
return
myWalletBiz
.
verifyCath
(
cathId
,
cono
);
}
catch
(
Exception
e
)
{
throw
new
BaseException
(
e
);
}
}
}
}
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