Skip to content

Commit

Permalink
解决冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
xxx committed Jan 15, 2025
2 parents 61b69ef + 9f50506 commit 7512e7f
Show file tree
Hide file tree
Showing 111 changed files with 3,387 additions and 745 deletions.
37 changes: 16 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
# 版本 4.9.14
# 版本 4.9.15

- 新增:视频素材库分类
- 新增:录播课评论审核机制
- 新增:录播课课时评论审核机制
- 新增:录播课是否允许评论开关
- 新增:录播课课时是否允许评论开关
- 新增:录播课评论显示地区
- 新增:录播课课时评论显示地区
- 新增:后台系统审计日志清空按钮
- 新增:学员导入新增昵称字段
- 修复:录播课批量导入学员未统计订阅人数的bug
- 修复:视频后缀mp4非小写无法上传的bug
- 优化:新增学员的昵称、头像改为可选字段

## 新增
# 版本 4.9.14

- 新增:微信H5支付

## 优化

- 优化:重构支付业务逻辑

# 版本 4.9.13

## 优化

- 优化:[API]重构图片、课件存储

# 版本 4.9.12

## 新增

- 新增:[API]Redis数据库的env配置项

## 优化

- 优化:[API]删除云片短信服务
- 优化:[API]重构安装程序界面
- 优化:[API]重构微信公众号的扫码登录
Expand All @@ -31,8 +34,6 @@

# 版本 4.9.11

## 新增

- 新增:[API]阿里云点播域名配置
- 新增:[API]阿里云点播播放域名`key`自动化配置
- 新增:[API]阿里云点播播放域名的跨域配置自动化配置
Expand All @@ -41,9 +42,6 @@
- 新增:[API]腾讯云点播播放域名`key`自动化配置
- 新增:[API]腾讯云点播回调自动化配置
- 新增:[后台]运行日志下载

## 修复

- 修复:[API]全文搜索默认值读取`http://localhost:7700`的BUG
- 修复:[H5]短信验证登录成功之后先跳转到登录页面再跳转到我的页面的BUG
- 修复:[H5]短信验证码登录失败页面自动跳回登录界面的BUG
Expand All @@ -56,9 +54,6 @@
- 修复:[PC]录播课分类过长导致样式溢出的BUG
- 修复:[PC]短信注册使用手机号登录scene的BUG
- 修复:[其它]`docker-compose`运行方式下默认上传文件大小改为`10M`

## 优化

- 优化:[API]系统根据配置的API地址决定是否使用`https`协议(此项更新解决代理部署下的URL生成协议为HTTP的问题)
- 优化:[API]`CORS`跨域的缓存时间提升到15天
- 优化:[API]`Redis`链接错误的信息提示
Expand All @@ -84,7 +79,7 @@
- 优化:提升会员、优惠码、公众号新建、编辑的交互
- 优化:选择图片组件样式优化
- 优化:优化后台界面的异常处理
- 移除:优惠码奖励字段(此字段早已废弃)
- 优化:移除优惠码奖励字段(此字段早已废弃)

# 版本 4.9.9

Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ volumes:

services:
meedu:
image: registry.cn-hangzhou.aliyuncs.com/meedu/light:4.9.14
image: registry.cn-hangzhou.aliyuncs.com/meedu/light:4.9.15
restart: always
environment:
- DB_HOST=${DB_HOST}
Expand Down
Binary file modified xyz.meedu.admin/public/template/学员批量导入模板.xlsx
Binary file not shown.
8 changes: 8 additions & 0 deletions xyz.meedu.admin/src/api/course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ export function commentDestroy(params: any) {
return client.post(`/backend/api/v1/course_comment/delete`, params);
}

export function commentApplyMulti(params: any) {
return client.post(`/backend/api/v1/course_comment/check`, params);
}

export function videoList(params: any) {
return client.get(`/backend/api/v1/video`, params);
}
Expand Down Expand Up @@ -122,6 +126,10 @@ export function videoCommentDestroy(params: any) {
return client.post(`/backend/api/v1/video_comment/delete`, params);
}

export function videoCommentApplyMulti(params: any) {
return client.post(`/backend/api/v1/video_comment/check`, params);
}

export function recordsList(id: number, params: any) {
return client.get(`/backend/api/v1/course/${id}/watch/records`, params);
}
Expand Down
1 change: 1 addition & 0 deletions xyz.meedu.admin/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export * as order from "./order";
export * as member from "./member";
export * as viewBlock from "./viewBlock";
export * as pre from "./pre";
export * as videoCategory from "./video-category";
8 changes: 6 additions & 2 deletions xyz.meedu.admin/src/api/media.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import client from "./internal/httpClient";

export function imageList(params: any) {
return client.get("/backend/api/v1/media/images", params);
return client.get("/backend/api/v1/media/image/index", params);
}

export function videoAliyunTokenRefresh(params: any) {
Expand Down Expand Up @@ -29,9 +29,13 @@ export function newDestroyVideo(params: any) {
}

export function imagesList(params: any) {
return client.get("/backend/api/v1/media/images", params);
return client.get("/backend/api/v1/media/image/index", params);
}

export function destroyImages(params: any) {
return client.post(`/backend/api/v1/media/image/delete/multi`, params);
}

export function tencentRecordCateId(params: any) {
return client.post(`/backend/api/v1/media/videos/record-category-id`, params);
}
4 changes: 4 additions & 0 deletions xyz.meedu.admin/src/api/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,7 @@ export function linksUpdate(id: number, params: any) {
export function runTimeLog() {
return client.get(`/backend/api/v1/log/runtime`, {});
}

export function adminLogDestory(sign: any) {
return client.destroy(`/backend/api/v1/log/${sign}`);
}
43 changes: 43 additions & 0 deletions xyz.meedu.admin/src/api/video-category.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import client from "./internal/httpClient";

export function list() {
return client.get("/backend/api/v1/media/video-category/index", {});
}

export function create() {
return client.get("/backend/api/v1/media/video-category/create", {});
}

export function store(params: any) {
return client.post("/backend/api/v1/media/video-category/create", params);
}

export function detail(id: number) {
return client.get(`backend/api/v1/media/video-category/${id}`, {});
}

export function update(id: number, params: any) {
return client.put(`backend/api/v1/media/video-category/${id}`, params);
}

export function destroy(id: number) {
return client.destroy(`backend/api/v1/media/video-category/${id}`);
}

export function dropSameClass(ids: number[]) {
return client.put(`/backend/api/v1/media/video-category/change-sort`, {
ids: ids,
});
}

export function dropDiffClass(id: number, parent_id: number, ids: number[]) {
return client.put(`/backend/api/v1/media/video-category/change-parent`, {
id: id,
parent_id: parent_id,
ids: ids,
});
}

export function videoUpdate(params: any) {
return client.post(`backend/api/v1/media/videos/change-category`, params);
}
1 change: 1 addition & 0 deletions xyz.meedu.admin/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ export * from "./pc-link";
export * from "./h5-link";
export * from "./upload-video-item";
export * from "./user-single-add";
export * from "./tree-category";
2 changes: 1 addition & 1 deletion xyz.meedu.admin/src/components/left-menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const items = [
null,
null,
null,
"dashboard"
"media.image.index"
),
getItem(
"视频库",
Expand Down
2 changes: 1 addition & 1 deletion xyz.meedu.admin/src/components/select-image/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const SelectImage = (props: PropsInterface) => {
style={{ position: "absolute", right: 30, top: 15, zIndex: 15 }}
>
<UploadImageSub
scene={props.scene}
scene={scene}
onUpdate={() => {
resetImageList();
}}
Expand Down
Empty file.
Loading

0 comments on commit 7512e7f

Please sign in to comment.