This commit is contained in:
zxm 2018-07-22 09:49:10 +08:00 committed by meng
parent b6b03e529b
commit e939bad3c1
5 changed files with 66 additions and 0 deletions

View File

@ -15,6 +15,11 @@ export default new Router({
name: 'context',
component: context
},
{
path: '/:id',
name: 'detail',
component: context
},
{
path:'/home/:id',
component:Home,

View File

@ -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>

View File

@ -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 {
}

View File

@ -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> {
}

View File

@ -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;
}
}