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