mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 18:36:51 +08:00
Compare commits
1 Commits
smartDoc-2
...
pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67c98a9a5a |
@@ -240,18 +240,6 @@
|
||||
<version>2.3.0</version> <!-- 请根据实际需求选择版本 -->
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/com.github.shalousun/smart-doc -->
|
||||
<dependency>
|
||||
<groupId>com.github.shalousun</groupId>
|
||||
<artifactId>smart-doc</artifactId>
|
||||
<version>2.7.7</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>javax.enterprise</groupId>
|
||||
<artifactId>cdi-api</artifactId>
|
||||
<version>2.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
@@ -277,28 +265,6 @@
|
||||
<includeSystemScope>true</includeSystemScope>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.shalousun</groupId>
|
||||
<artifactId>smart-doc-maven-plugin</artifactId>
|
||||
<version>2.7.7</version>
|
||||
<configuration>
|
||||
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
|
||||
<configFile>./src/main/resources/smart-doc.json</configFile>
|
||||
<!--指定项目名称,推荐使用动态参数,例如${project.description}-->
|
||||
<!--如果smart-doc.json中和此处都未设置projectName,2.3.4开始,插件自动采用pom中的projectName作为设置-->
|
||||
<projectName>${project.description}</projectName>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<!--如果不需要在执行编译时启动smart-doc,则将phase注释掉-->
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<!--smart-doc提供了html、openapi、markdown等goal,可按需配置-->
|
||||
<goal>html</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
|
||||
@@ -14,7 +14,7 @@ public interface ICasesRecommendPushRecordService {
|
||||
/**
|
||||
* 案例推送
|
||||
*
|
||||
* @param boeParam
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
boolean launchPush(CasesRecommendLaunchVo casesRecommendLaunch, CurrentUser currentUser, String token);
|
||||
|
||||
@@ -104,7 +104,7 @@ public interface ICommentsService {
|
||||
|
||||
/**
|
||||
* 查询案例@的评论
|
||||
* @param boeParam
|
||||
* @param
|
||||
* */
|
||||
|
||||
PageList<CommentsDto> findCasesTome(int pageIndex,int pageSize,Integer objType,String toaid,String uname,Boolean isread);
|
||||
|
||||
@@ -288,7 +288,7 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
|
||||
/**
|
||||
* 记录学习信息,在学习每个资源时都要记录.前端用户打开课程资源按规则调用带着课程及学习信息调用此接口。
|
||||
* @param boeParam
|
||||
* @param
|
||||
* @return 返回学习条目的id
|
||||
*/
|
||||
@PostMapping("/study")
|
||||
@@ -450,8 +450,8 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
* 音视频学习保存,初始化保存学习记录.
|
||||
* 如果已经保存,就不要再保存第二次了,前端注意控制
|
||||
* {studyId,contentId,courseId,progress,contentType,studyDuration}
|
||||
* @param boeParam
|
||||
* @param boeParam
|
||||
* @param
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/study-video-save")
|
||||
@@ -506,8 +506,8 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
}
|
||||
/**
|
||||
* 视频学习完
|
||||
* @param boeParam
|
||||
* @param boeParam
|
||||
* @param
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/study-video-finish")
|
||||
@@ -539,7 +539,7 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
/**
|
||||
* 记录视频的学习时间点,前端可以每10秒记录一次,时长是秒
|
||||
* @param itemId 学习内容条目id
|
||||
* @param boeParam
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/study-video-time")
|
||||
|
||||
@@ -84,19 +84,19 @@ xboe:
|
||||
file:
|
||||
temp_path: /tmp
|
||||
save_path: /home/www/elearning/upload
|
||||
http_path: http://10.251.132.75/upload
|
||||
http_path: http://10.251.132.177/upload
|
||||
externalinterface:
|
||||
url:
|
||||
system: http://localhost:9091
|
||||
old:
|
||||
base:
|
||||
url: http://10.251.132.75
|
||||
url: http://10.251.132.177
|
||||
server:
|
||||
userbasic:
|
||||
url: http://10.251.132.75/userbasic
|
||||
url: http://10.251.132.177/userbasic
|
||||
stat:
|
||||
base:
|
||||
url: http://10.251.132.75:9080
|
||||
url: http://10.251.132.177:9080
|
||||
elasticsearch:
|
||||
server:
|
||||
ip: 10.251.129.21
|
||||
@@ -104,7 +104,7 @@ xboe:
|
||||
user:
|
||||
password:
|
||||
email:
|
||||
url: http://10.251.132.75/api/b1/email/send
|
||||
url: http://10.251.132.177/api/b1/email/send
|
||||
from: boeu_learning@boe.com.cn
|
||||
user:
|
||||
security:
|
||||
@@ -115,7 +115,7 @@ jasypt:
|
||||
iv-generator-classname: org.jasypt.iv.NoIvGenerator
|
||||
|
||||
boe:
|
||||
domain: http://10.251.132.75
|
||||
domain: http://10.251.132.177
|
||||
|
||||
ok:
|
||||
http:
|
||||
@@ -157,7 +157,7 @@ coursesuilt:
|
||||
xxl:
|
||||
job:
|
||||
admin:
|
||||
addresses: http://10.251.132.75/jobAdmin
|
||||
addresses: http://10.251.132.177/jobAdmin
|
||||
accessToken: 65ddc683-22f5-83b4-de3a-3c97a0a29af0
|
||||
executor:
|
||||
appname: java-servers-job-api
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"outPath": "src/main/resources/apidoc",
|
||||
"isStrict": false,
|
||||
"ignoreEmptyTag": true,
|
||||
"createDebugPage": true,
|
||||
"allInOne": true
|
||||
}
|
||||
Reference in New Issue
Block a user