fix 修复 代码生成controller路由地址错误问题

2.X
疯狂的狮子Li 1 year ago
parent 5827cbb0a1
commit 12fab31e0b

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

Loading…
Cancel
Save