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 1065a7fb
authored
Jul 16, 2021
by
wangnb
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
账户体系远程调用账户、角色菜单代码框架搭建--think.wang
1 parent
bec11612
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
122 additions
and
0 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/service/MerchantAccountTypeService.java
src/main/java/cn/com/glsx/merchants/service/MerchantRoleService.java
src/main/java/cn/com/glsx/merchants/controller/MerchantAccountTypeController.java
0 → 100644
View file @
1065a7f
package
cn
.
com
.
glsx
.
merchants
.
controller
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.merchants.request.example.LoginRequest
;
import
cn.com.glsx.merchants.response.LoginResponse
;
import
cn.com.glsx.merchants.service.MerchantAccountTypeService
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethodBean
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* @author zhouhaibao
* @version 1.0
* @description: 账户类型接口
* @date 2021/7/13 10:00
*/
@Api
(
"账户类型接口"
)
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
YES
)
public
class
MerchantAccountTypeController
{
@Autowired
private
MerchantAccountTypeService
accountTypeService
;
/**
*
* @param request
* @return
*/
@ServiceMethod
(
method
=
"org.ore.api.account.list"
,
needInSession
=
NeedInSessionType
.
YES
)
@ApiOperation
(
"登录"
)
public
RopResponse
<
LoginResponse
>
getAccountList
(
LoginRequest
request
)
{
return
RopResponse
.
success
(
null
);
}
}
src/main/java/cn/com/glsx/merchants/controller/MerchantRoleController.java
0 → 100644
View file @
1065a7f
package
cn
.
com
.
glsx
.
merchants
.
controller
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.merchants.request.example.LoginRequest
;
import
cn.com.glsx.merchants.response.LoginResponse
;
import
cn.com.glsx.merchants.service.MerchantRoleService
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethodBean
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* @author zhouhaibao
* @version 1.0
* @description: 角色管理接口
* @date 2021/7/13 10:00
*/
@Api
(
"角色管理接口"
)
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
YES
)
public
class
MerchantRoleController
{
@Autowired
private
MerchantRoleService
roleService
;
/**
*
* @param request
* @return
*/
@ServiceMethod
(
method
=
"org.ore.api.role.list"
,
needInSession
=
NeedInSessionType
.
YES
)
@ApiOperation
(
"登录"
)
public
RopResponse
<
LoginResponse
>
getRoleList
(
LoginRequest
request
)
{
return
RopResponse
.
success
(
null
);
}
}
src/main/java/cn/com/glsx/merchants/service/MerchantAccountTypeService.java
0 → 100644
View file @
1065a7f
package
cn
.
com
.
glsx
.
merchants
.
service
;
import
cn.com.glsx.merchants.remote.MerchantAccountTypeRemote
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
/**
* @author zhouhaibao
* @version 1.0
* @description: 账户类型service
* @date 2021/7/12 17:00
*/
@Slf4j
@Service
public
class
MerchantAccountTypeService
{
@Resource
private
MerchantAccountTypeRemote
merchantAccountTypeRemote
;
}
src/main/java/cn/com/glsx/merchants/service/MerchantRoleService.java
0 → 100644
View file @
1065a7f
package
cn
.
com
.
glsx
.
merchants
.
service
;
import
cn.com.glsx.merchants.remote.MerchantRoleRemote
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
/**
* @author zhouhaibao
* @version 1.0
* @description: 角色管理service
* @date 2021/7/12 17:00
*/
@Slf4j
@Service
public
class
MerchantRoleService
{
@Resource
private
MerchantRoleRemote
merchantRoleRemote
;
}
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