Initial commit
This commit is contained in:
parent
bf0bcfa2d0
commit
d357b2b309
@ -0,0 +1,21 @@
|
||||
package com.atguigu.wechat.controller;
|
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author yovinchen
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/wechat/menu")
|
||||
public class MenuController {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,16 @@
|
||||
package com.atguigu.wechat.mapper;
|
||||
|
||||
import com.atguigu.model.wechat.Menu;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author yovinchen
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
public interface MenuMapper extends BaseMapper<Menu> {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.atguigu.wechat.mapper.MenuMapper">
|
||||
|
||||
</mapper>
|
@ -0,0 +1,16 @@
|
||||
package com.atguigu.wechat.service;
|
||||
|
||||
import com.atguigu.model.wechat.Menu;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author yovinchen
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
public interface MenuService extends IService<Menu> {
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.atguigu.wechat.service.impl;
|
||||
|
||||
import com.atguigu.model.wechat.Menu;
|
||||
import com.atguigu.wechat.mapper.MenuMapper;
|
||||
import com.atguigu.wechat.service.MenuService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author yovinchen
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
@Service
|
||||
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {
|
||||
|
||||
}
|
@ -38,7 +38,7 @@ public class CodeGet {
|
||||
// 4、包配置
|
||||
PackageConfig pc = new PackageConfig();
|
||||
pc.setParent("com.atguigu");
|
||||
pc.setModuleName("process"); //模块名
|
||||
pc.setModuleName("wechat"); //模块名
|
||||
pc.setController("controller");
|
||||
pc.setService("service");
|
||||
pc.setMapper("mapper");
|
||||
|
Loading…
Reference in New Issue
Block a user