Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
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
曲欣亮
shop
Commits
bdf85900
Commit
bdf85900
authored
Aug 27, 2018
by
chang20170705
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
goodsservice
parent
9af9691f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
GoodsController.java
src/main/java/com/egolm/shop/controller/GoodsController.java
+13
-0
GoodsService.java
src/main/java/com/egolm/shop/service/GoodsService.java
+8
-0
GoodsServiceImpl.java
...in/java/com/egolm/shop/service/impl/GoodsServiceImpl.java
+17
-0
No files found.
src/main/java/com/egolm/shop/controller/GoodsController.java
0 → 100644
View file @
bdf85900
package
com
.
egolm
.
shop
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
io.swagger.annotations.Api
;
@Api
(
tags
={
"商品相关接口"
})
@RestController
@RequestMapping
(
"goods"
)
public
class
GoodsController
{
}
src/main/java/com/egolm/shop/service/GoodsService.java
0 → 100644
View file @
bdf85900
package
com
.
egolm
.
shop
.
service
;
import
java.util.List
;
import
java.util.Map
;
public
interface
GoodsService
{
}
src/main/java/com/egolm/shop/service/impl/GoodsServiceImpl.java
0 → 100644
View file @
bdf85900
package
com
.
egolm
.
shop
.
service
.
impl
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.shop.service.GoodsService
;
@Service
public
class
GoodsServiceImpl
implements
GoodsService
{
private
static
final
Log
logger
=
LogFactory
.
getLog
(
GoodsServiceImpl
.
class
);
@Autowired
private
JdbcTemplate
jdbcTemplate
;
}
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