Compare commits
3 Commits
a0c6c39c03
...
10d944174d
Author | SHA1 | Date |
---|---|---|
|
10d944174d | |
|
6ebed7b289 | |
|
13e5bf5bae |
|
@ -23,7 +23,6 @@ public class InvitationController {
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("/getInvitationCode")
|
@GetMapping("/getInvitationCode")
|
||||||
@Anonymous
|
|
||||||
public AjaxResult getInvitationCode() {
|
public AjaxResult getInvitationCode() {
|
||||||
// 获取当前用户
|
// 获取当前用户
|
||||||
Long userId = SecurityUtils.getUserId();
|
Long userId = SecurityUtils.getUserId();
|
||||||
|
|
|
@ -59,3 +59,21 @@ spring:
|
||||||
wall:
|
wall:
|
||||||
config:
|
config:
|
||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
|
mybatis-plus:
|
||||||
|
# Mapper XML文件位置
|
||||||
|
mapper-locations: classpath:mapper/**/*.xml
|
||||||
|
# 配置实体类所在的包名,MyBatis-Plus会自动扫描并注册为别名
|
||||||
|
type-aliases-package: com.mcwl.**.mapper
|
||||||
|
# 全局配置
|
||||||
|
global-config:
|
||||||
|
db-config:
|
||||||
|
# 主键生成策略
|
||||||
|
id-type: auto
|
||||||
|
# 开启驼峰命名规则转换
|
||||||
|
capital-mode: true
|
||||||
|
# 配置逻辑删除相关属性
|
||||||
|
logic-delete-field: del_flag
|
||||||
|
logic-delete-value: '2'
|
||||||
|
logic-not-delete-value: '0'
|
||||||
|
# 数据库字段下划线命名规则
|
||||||
|
table-underline: true
|
Loading…
Reference in New Issue