Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-merchant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 028701bf
authored
Aug 02, 2021
by
wangnb
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
账户体系角色管理、账户类型新增更新日志删除--think.wang
1 parent
cd86999e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
src/main/java/cn/com/glsx/merchants/controller/MerchantAccountTypeController.java
src/main/java/cn/com/glsx/merchants/controller/MerchantRoleController.java
src/main/java/cn/com/glsx/merchants/controller/MerchantAccountTypeController.java
View file @
028701b
...
@@ -5,9 +5,7 @@ import cn.com.glsx.framework.rop.response.RopResponse;
...
@@ -5,9 +5,7 @@ import cn.com.glsx.framework.rop.response.RopResponse;
import
cn.com.glsx.merchants.request.accounttype.*
;
import
cn.com.glsx.merchants.request.accounttype.*
;
import
cn.com.glsx.merchants.response.AccountTypeResponse
;
import
cn.com.glsx.merchants.response.AccountTypeResponse
;
import
cn.com.glsx.merchants.service.MerchantAccountTypeService
;
import
cn.com.glsx.merchants.service.MerchantAccountTypeService
;
import
cn.com.glsx.merchants.service.MerchantUserService
;
import
cn.com.glsx.merchants.util.Pagination
;
import
cn.com.glsx.merchants.util.Pagination
;
import
com.alibaba.fastjson.JSON
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethodBean
;
import
com.rop.annotation.ServiceMethodBean
;
...
@@ -109,7 +107,6 @@ public class MerchantAccountTypeController {
...
@@ -109,7 +107,6 @@ public class MerchantAccountTypeController {
@ServiceMethod
(
method
=
"org.ore.api.accountType.insert"
,
needInSession
=
NeedInSessionType
.
NO
)
@ServiceMethod
(
method
=
"org.ore.api.accountType.insert"
,
needInSession
=
NeedInSessionType
.
NO
)
@ApiOperation
(
"账户类型新增接口"
)
@ApiOperation
(
"账户类型新增接口"
)
public
RopResponse
<
Boolean
>
insert
(
AccountTypeInsertRequest
request
)
{
public
RopResponse
<
Boolean
>
insert
(
AccountTypeInsertRequest
request
)
{
log
.
info
(
"账户类型保存数据:{}"
,
JSON
.
toJSONString
(
request
));
try
{
try
{
return
RopResponse
.
success
(
accountTypeService
.
insert
(
request
));
return
RopResponse
.
success
(
accountTypeService
.
insert
(
request
));
}
catch
(
RpcServiceException
e
)
{
}
catch
(
RpcServiceException
e
)
{
...
@@ -127,7 +124,6 @@ public class MerchantAccountTypeController {
...
@@ -127,7 +124,6 @@ public class MerchantAccountTypeController {
@ServiceMethod
(
method
=
"org.ore.api.accountType.update"
,
needInSession
=
NeedInSessionType
.
NO
)
@ServiceMethod
(
method
=
"org.ore.api.accountType.update"
,
needInSession
=
NeedInSessionType
.
NO
)
@ApiOperation
(
"账户类型更新接口"
)
@ApiOperation
(
"账户类型更新接口"
)
public
RopResponse
<
Boolean
>
update
(
AccountTypeUpdateRequest
request
)
{
public
RopResponse
<
Boolean
>
update
(
AccountTypeUpdateRequest
request
)
{
log
.
info
(
"账户类型更新数据:{}"
,
JSON
.
toJSONString
(
request
));
try
{
try
{
return
RopResponse
.
success
(
accountTypeService
.
update
(
request
));
return
RopResponse
.
success
(
accountTypeService
.
update
(
request
));
}
catch
(
RpcServiceException
e
)
{
}
catch
(
RpcServiceException
e
)
{
...
...
src/main/java/cn/com/glsx/merchants/controller/MerchantRoleController.java
View file @
028701b
...
@@ -8,7 +8,6 @@ import cn.com.glsx.merchants.response.RoleResponse;
...
@@ -8,7 +8,6 @@ import cn.com.glsx.merchants.response.RoleResponse;
import
cn.com.glsx.merchants.service.MerchantRoleService
;
import
cn.com.glsx.merchants.service.MerchantRoleService
;
import
cn.com.glsx.merchants.service.MerchantUserService
;
import
cn.com.glsx.merchants.service.MerchantUserService
;
import
cn.com.glsx.merchants.util.Pagination
;
import
cn.com.glsx.merchants.util.Pagination
;
import
com.alibaba.fastjson.JSON
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethodBean
;
import
com.rop.annotation.ServiceMethodBean
;
...
@@ -113,7 +112,6 @@ public class MerchantRoleController {
...
@@ -113,7 +112,6 @@ public class MerchantRoleController {
@ServiceMethod
(
method
=
"org.ore.api.role.insert"
,
needInSession
=
NeedInSessionType
.
NO
)
@ServiceMethod
(
method
=
"org.ore.api.role.insert"
,
needInSession
=
NeedInSessionType
.
NO
)
@ApiOperation
(
"角色管理新增接口"
)
@ApiOperation
(
"角色管理新增接口"
)
public
RopResponse
<
Boolean
>
insert
(
RoleInsertRequest
request
)
{
public
RopResponse
<
Boolean
>
insert
(
RoleInsertRequest
request
)
{
log
.
info
(
"角色管理保存数据:{}"
,
JSON
.
toJSONString
(
request
));
try
{
try
{
return
RopResponse
.
success
(
roleService
.
insert
(
request
));
return
RopResponse
.
success
(
roleService
.
insert
(
request
));
}
catch
(
RpcServiceException
e
)
{
}
catch
(
RpcServiceException
e
)
{
...
@@ -131,7 +129,6 @@ public class MerchantRoleController {
...
@@ -131,7 +129,6 @@ public class MerchantRoleController {
@ServiceMethod
(
method
=
"org.ore.api.role.update"
,
needInSession
=
NeedInSessionType
.
NO
)
@ServiceMethod
(
method
=
"org.ore.api.role.update"
,
needInSession
=
NeedInSessionType
.
NO
)
@ApiOperation
(
"角色管理更新接口"
)
@ApiOperation
(
"角色管理更新接口"
)
public
RopResponse
<
Boolean
>
update
(
RoleUpdateRequest
request
)
{
public
RopResponse
<
Boolean
>
update
(
RoleUpdateRequest
request
)
{
log
.
info
(
"角色管理更新数据:{}"
,
JSON
.
toJSONString
(
request
));
try
{
try
{
return
RopResponse
.
success
(
roleService
.
update
(
request
));
return
RopResponse
.
success
(
roleService
.
update
(
request
));
}
catch
(
RpcServiceException
e
)
{
}
catch
(
RpcServiceException
e
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment