Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
hxkf
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
hxkf
Commits
7ab5c4e8
提交
7ab5c4e8
authored
11月 12, 2020
作者:
jiashixiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改查询课程后试题sql
上级
67c8b053
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
4 行删除
+5
-4
application.yml
app/file/src/main/resources/application.yml
+1
-1
DiyTypeController.java
...rqx/resource/bg/controller/diytype/DiyTypeController.java
+2
-1
logback.xml
config/src/main/resources/logback.xml
+1
-1
application.yml
zuul/src/main/resources/application.yml
+1
-1
没有找到文件。
app/file/src/main/resources/application.yml
浏览文件 @
7ab5c4e8
...
...
@@ -6,7 +6,7 @@ ribbon:
ReadTimeout
:
600000
#服务间连接超时时间
spring
:
resources
:
static-locations
:
classpath:/static/,classpath:/META-INF/resources/,file:/
opt
/upload/hxkf/
static-locations
:
classpath:/static/,classpath:/META-INF/resources/,file:/
data
/upload/hxkf/
servlet
:
multipart
:
enabled
:
true
...
...
app/resource/src/main/java/com/zrqx/resource/bg/controller/diytype/DiyTypeController.java
浏览文件 @
7ab5c4e8
...
...
@@ -101,7 +101,8 @@ public class DiyTypeController {
String
code
=
page
.
getList
().
get
(
0
).
getCode
();
entity
.
setCode
(
UUIDUtil
.
newCode
(
code
));
}
else
{
//没有查询到子分类,获取父类code 拼接 01
//没有查询到子分类,获取父类code 拼
// 接 01
if
(
entity
.
getParentId
()!=
0
){
entity
.
setCode
(
service
.
selectByPrimaryKey
(
entity
.
getParentId
()).
getCode
()+
"01"
);
}
else
{
...
...
config/src/main/resources/logback.xml
浏览文件 @
7ab5c4e8
...
...
@@ -5,7 +5,7 @@
debug=
"false"
scan=
"true"
scanPeriod=
"30 second"
>
<!--读取配置中心的属性-->
<springProperty
scope=
"context"
name=
"name"
source=
"spring.application.name"
/>
<property
name=
"ROOT"
value=
"/
opt
/logs/hxkf/server/"
/>
<property
name=
"ROOT"
value=
"/
data
/logs/hxkf/server/"
/>
<property
name=
"FILESIZE"
value=
"10MB"
/>
<property
name=
"MAXHISTORY"
value=
"60"
/>
<property
name=
"DATETIME"
value=
"yyyy-MM-dd HH:mm:ss"
/>
...
...
zuul/src/main/resources/application.yml
浏览文件 @
7ab5c4e8
...
...
@@ -4,7 +4,7 @@ spring:
mvc
:
static-path-pattern
:
/**
resources
:
static-locations
:
classpath:/static/,classpath:/META-INF/resources/,file:/
opt
/view/hxkf/
static-locations
:
classpath:/static/,classpath:/META-INF/resources/,file:/
data
/view/hxkf/
application
:
name
:
zuul
servlet
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论