Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
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
haoban3.0
haoban-manage3.0
Commits
1a0138be
Commit
1a0138be
authored
Apr 20, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
2e7127f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
HelpController.java
.../com/gic/haoban/manage/web/controller/HelpController.java
+4
-4
HelpController.java
.../com/gic/haoban/manage/web/controller/HelpController.java
+3
-4
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/HelpController.java
View file @
1a0138be
...
...
@@ -22,13 +22,13 @@ public class HelpController extends WebBaseController{
@Autowired
private
HelpApiService
helpApiService
;
//获
取字典
列表
//获
帮助
列表
@RequestMapping
(
"get-help-list"
)
public
HaobanResponse
getDictList
(
BasePageInfo
pageInfo
)
{
Page
<
HelpDTO
>
page
=
helpApiService
.
pageList
(
pageInfo
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
page
);
}
//保存
字典
//保存
帮助
@RequestMapping
(
"save-help"
)
public
HaobanResponse
saveHelp
(
HelpDTO
dto
)
{
int
i
=
helpApiService
.
saveHelp
(
dto
);
...
...
@@ -37,13 +37,13 @@ public class HelpController extends WebBaseController{
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
//查看
字典
详情
//查看
帮助
详情
@RequestMapping
(
"find-help-detail"
)
public
HaobanResponse
findDictDetail
(
String
helpId
)
{
HelpDTO
helpDTO
=
helpApiService
.
findOneHelp
(
helpId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
helpDTO
);
}
//删除
字典
//删除
帮助
@RequestMapping
(
"del-help"
)
public
HaobanResponse
deleteDict
(
String
helpId
)
{
helpApiService
.
deleteOne
(
helpId
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/HelpController.java
View file @
1a0138be
...
...
@@ -17,6 +17,7 @@ import com.gic.haoban.common.utils.HaobanResponse;
import
com.gic.haoban.communicate.api.service.valid.ValidationCodeService
;
import
com.gic.haoban.manage.api.dto.HelpDTO
;
import
com.gic.haoban.manage.api.service.HelpApiService
;
import
com.gic.haoban.manage.web.anno.IgnoreLogin
;
//import com.gic.haoban.manage.api.dto.StaffDTO;
//import com.gic.haoban.manage.api.service.StaffApiService;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
...
...
@@ -31,13 +32,11 @@ private static Logger logger = LoggerFactory.getLogger(HelpController.class);
@Autowired
private
HelpApiService
helpApiService
;
/**
* 验证码校验
*
* @param phoneNumber
* 帮助中心列表
* @return
*/
@IgnoreLogin
@RequestMapping
(
"/get-help-list"
)
public
HaobanResponse
getHelpList
()
{
...
...
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