blog
This commit is contained in:
parent
b6b03e529b
commit
e939bad3c1
|
@ -15,6 +15,11 @@ export default new Router({
|
|||
name: 'context',
|
||||
component: context
|
||||
},
|
||||
{
|
||||
path: '/:id',
|
||||
name: 'detail',
|
||||
component: context
|
||||
},
|
||||
{
|
||||
path:'/home/:id',
|
||||
component:Home,
|
||||
|
|
|
@ -10,6 +10,20 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>len-blog</artifactId>
|
||||
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.len</groupId>
|
||||
<artifactId>len-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<!-- <build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
package com.len.controller;
|
||||
|
||||
import com.len.base.BaseController;
|
||||
|
||||
/**
|
||||
* @author zhuxiaomeng
|
||||
* @date 2018/7/22.
|
||||
* @email 154040976@qq.com
|
||||
*/
|
||||
public class BlogMenuController extends BaseController {
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.len.service;
|
||||
|
||||
import com.len.base.BaseService;
|
||||
import com.len.entity.BlogMenu;
|
||||
|
||||
/**
|
||||
* @author zhuxiaomeng
|
||||
* @date 2018/7/22.
|
||||
* @email 154040976@qq.com
|
||||
*/
|
||||
public interface BlogMenuService extends BaseService<BlogMenu,String> {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package com.len.service.impl;
|
||||
|
||||
import com.len.base.BaseMapper;
|
||||
import com.len.base.impl.BaseServiceImpl;
|
||||
import com.len.entity.BlogMenu;
|
||||
import com.len.mapper.BlogMenuMapper;
|
||||
import com.len.service.BlogMenuService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* @author zhuxiaomeng
|
||||
* @date 2018/7/22.
|
||||
* @email 154040976@qq.com
|
||||
*/
|
||||
public class BlogMenuServiceImpl extends BaseServiceImpl<BlogMenu, String> implements BlogMenuService {
|
||||
|
||||
@Autowired
|
||||
private BlogMenuMapper blogMenuMapper;
|
||||
|
||||
@Override
|
||||
public BaseMapper<BlogMenu, String> getMappser() {
|
||||
return blogMenuMapper;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue