Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
吴迪
gs1-office-web-sit
Commits
219a5b68
Commit
219a5b68
authored
Feb 16, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】修改文件
parent
6b4f5b0b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
RetailpictureController.java
...ce/modules/manage/controller/RetailpictureController.java
+14
-0
RetailpictureServiceImpl.java
...modules/manage/service/impl/RetailpictureServiceImpl.java
+4
-0
No files found.
src/main/java/io/office/modules/manage/controller/RetailpictureController.java
View file @
219a5b68
...
@@ -3,6 +3,8 @@ package io.office.modules.manage.controller;
...
@@ -3,6 +3,8 @@ package io.office.modules.manage.controller;
import
java.util.List
;
import
java.util.List
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
io.office.modules.app.annotation.Login
;
import
io.office.modules.manage.entity.PictureEntity
;
import
io.office.modules.manage.entity.dto.PictureParams
;
import
io.office.modules.manage.entity.dto.PictureParams
;
import
io.office.modules.manage.entity.dto.RetailPictureParams
;
import
io.office.modules.manage.entity.dto.RetailPictureParams
;
import
io.office.modules.sys.controller.AbstractController
;
import
io.office.modules.sys.controller.AbstractController
;
...
@@ -115,4 +117,16 @@ public class RetailpictureController extends AbstractController {
...
@@ -115,4 +117,16 @@ public class RetailpictureController extends AbstractController {
}
}
}
}
/**
* 信息
*/
@Login
@RequestMapping
(
"/api/info/{pictureid}"
)
// @RequiresPermissions("generator:picture:info")
public
R
getDetail
(
@PathVariable
(
"pictureid"
)
Integer
pictureid
){
RetailpictureEntity
picture
=
retailpictureService
.
getById
(
pictureid
);
return
R
.
ok
().
put
(
"data"
,
picture
);
}
}
}
src/main/java/io/office/modules/manage/service/impl/RetailpictureServiceImpl.java
View file @
219a5b68
...
@@ -107,6 +107,10 @@ public class RetailpictureServiceImpl extends ServiceImpl<RetailpictureDao, Reta
...
@@ -107,6 +107,10 @@ public class RetailpictureServiceImpl extends ServiceImpl<RetailpictureDao, Reta
return
page
;
return
page
;
}
}
/* @Override
/* @Override
public Page<RetailpictureEntity> selectPictureNewList(NewsParams params, Page page) {
public Page<RetailpictureEntity> selectPictureNewList(NewsParams params, Page page) {
List<PictureEntity> list = this.newsDao.pictureTop4();
List<PictureEntity> list = this.newsDao.pictureTop4();
...
...
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