mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-04 03:26:31 +00:00
fix 修复 代码生成controller路由地址错误问题
This commit is contained in:
@@ -27,6 +27,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ${functionName}
|
* ${functionName}
|
||||||
|
* 前端访问路由地址为:/${moduleName}/${businessName}
|
||||||
*
|
*
|
||||||
* @author ${author}
|
* @author ${author}
|
||||||
* @date ${datetime}
|
* @date ${datetime}
|
||||||
@@ -34,7 +35,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|||||||
@Validated
|
@Validated
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/${moduleName}/${businessName}")
|
@RequestMapping("/${businessName}")
|
||||||
public class ${ClassName}Controller extends BaseController {
|
public class ${ClassName}Controller extends BaseController {
|
||||||
|
|
||||||
private final I${ClassName}Service ${className}Service;
|
private final I${ClassName}Service ${className}Service;
|
||||||
|
Reference in New Issue
Block a user