V2.0 获取用户共通方法变更

This commit is contained in:
zhangdaihao 2019-05-21 10:46:02 +08:00
parent 93b70f0f42
commit 75be5887d7
2 changed files with 5 additions and 2 deletions

View File

@ -79,4 +79,7 @@ v1.1
} }
5.所有页面样式没有scoped的加上 5.所有页面样式没有scoped的加上
<style scoped> <style scoped>
6.获取用户共通方法变更
V2.0版本: LoginUser sysUser = (LoginUser)SecurityUtils.getSubject().getPrincipal();

View File

@ -42,7 +42,7 @@ import io.swagger.annotations.ApiOperation;
* @Version: V1.0 * @Version: V1.0
*/ */
@Slf4j @Slf4j
@Api("${tableVo.ftlDescription}") @Api(tags="${tableVo.ftlDescription}")
@RestController @RestController
@RequestMapping("/${entityPackage}/${entityName?uncap_first}") @RequestMapping("/${entityPackage}/${entityName?uncap_first}")
public class ${entityName}Controller { public class ${entityName}Controller {