update snowy-base/snowy-gen/src/main/resources/template/Controller.java.vm.

This commit is contained in:
小诺 2021-07-18 12:13:39 +00:00 committed by Gitee
parent f69b058ed0
commit 6c70a29ba2

View File

@ -22,26 +22,23 @@ Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意
5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/xiaonuobase/snowy
6.若您的项目无法满足以上几点可申请商业授权获取Snowy商业授权许可请在官网购买授权地址为 https://www.xiaonuo.vip
*/
package ${packageName}import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
package ${packageName}.${modularName}.${busName}.controller;
import vip.xiaonuo.core.annotion.BusinessLog;
import vip.xiaonuo.core.annotion.Permission;
import vip.xiaonuo.core.enums.LogAnnotionOpTypeEnum;
import vip.xiaonuo.core.pojo.response.ResponseData;
import vip.xiaonuo.core.pojo.response.SuccessResponseData;
import ${packageName}.${modularName}.${busName}.param.${ClassName}Param;
import ${packageName}.${modularName}.${busName}.service.${ClassName}Service;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import javax.annotation.Resource;
import java.util.List;
.${modularName}.${busName}.controller;
${packageName}
.${modularName}.${busName}.param.${ClassName}Param;
${packageName}
.${modularName}.${busName}.service.${ClassName}Service;
/**
* ${functionName}控制器
*