Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
代码敲不队
YoubiliProject
提交
53d9f016
Y
YoubiliProject
项目概览
代码敲不队
/
YoubiliProject
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
YoubiliProject
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
53d9f016
编写于
6月 13, 2023
作者:
喷火的神灵
🎱
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2023年6月10日18:01:19
上级
5d1e96f6
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
560 addition
and
31 deletion
+560
-31
README.md
README.md
+25
-5
YouBili_front/package-lock.json
YouBili_front/package-lock.json
+520
-20
YouBili_front/package.json
YouBili_front/package.json
+1
-0
YouBili_front/src/main.js
YouBili_front/src/main.js
+3
-0
YouBili_front/src/views/video/videoIndex.vue
YouBili_front/src/views/video/videoIndex.vue
+8
-3
youbili-project-backend/pom.xml
youbili-project-backend/pom.xml
+1
-1
youbili-project-backend/src/main/java/cn/tedu/youbiliprojectbackend/pojo/vo/AccountUserVO.java
.../cn/tedu/youbiliprojectbackend/pojo/vo/AccountUserVO.java
+1
-1
youbili-project-backend/src/main/resources/mapper/UserMapper.xml
...-project-backend/src/main/resources/mapper/UserMapper.xml
+1
-1
未找到文件。
README.md
浏览文件 @
53d9f016
...
...
@@ -2,16 +2,36 @@
**开发运行环境:**
| 软件 | 版本 |
| :---------------------: | :-------------: |
| Windows11 | 22H2 |
| MySQL Community Edition | 8.0.33 |
| JDK | Corretto-Jdk 17 |
| 软件 | 版本 |
| :-------------------------: | :---------: |
| Windows11 | 22H2 |
| JDK | corretto-17 |
| MySQL Community Edition | 8.0.33 |
| Windows Subsystem for Linux | 2 |
| Ubuntu-Preview | 2 |
| Redis | 7.0.11 |
| WebStorm | 2023.1.2 |
| DataGrip | 2023.1.2 |
| IntelliJ IDEA Ultimate | 2023.1.2 |
***项目使用技术:**
*
| 依赖 | 版本 |
| :-------------: | :---: |
| Spring Boot | 3.1 |
| Spring Security | 6.0.2 |
| Mybatis | 3.0.2 |
| Spring-Mail | 3.0.2 |
| | |
| | |
| | |
| | |
| | |
1.
SpringBoot 3.1
2.
Corretto-Jdk 17
3.
Mybatis
...
...
YouBili_front/package-lock.json
浏览文件 @
53d9f016
此差异已折叠。
点击以展开。
YouBili_front/package.json
浏览文件 @
53d9f016
...
...
@@ -8,6 +8,7 @@
"lint"
:
"vue-cli-service lint"
},
"dependencies"
:
{
"ant-design-vue"
:
"^1.7.2"
,
"axios"
:
"^1.4.0"
,
"cookie-session"
:
"^2.0.0"
,
"core-js"
:
"^3.8.3"
,
...
...
YouBili_front/src/main.js
浏览文件 @
53d9f016
...
...
@@ -7,9 +7,12 @@ import store from './store'
import
VueDPlayer
from
"
vue-dplayer
"
;
import
"
vue-dplayer/dist/vue-dplayer.css
"
;
import
axios
from
"
axios
"
;
import
Button
from
'
ant-design-vue/lib/button
'
;
import
'
ant-design-vue/dist/antd.css
'
;
// Vue.use(axios);
Vue
.
prototype
.
axios
=
axios
;
Vue
.
component
(
Button
.
name
,
Button
);
Vue
.
use
(
VueDPlayer
);
Vue
.
use
(
ElementUI
);
...
...
YouBili_front/src/views/video/videoIndex.vue
浏览文件 @
53d9f016
...
...
@@ -82,8 +82,9 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"2"
>
<div>
<el-button
circle
class=
"button"
icon=
"el-icon-edit"
type=
"primary"
></el-button>
<p>
12
</p>
<a-icon
type=
"dingding"
/>
<a-icon
type=
"like"
theme=
"twoTone"
/>
<span><a-icon
type=
"dislike"
theme=
"twoTone"
/></span>
</div>
</el-col>
<el-col
:span=
"2"
>
...
...
@@ -237,4 +238,8 @@ export default {
font-weight
:
bold
;
}
</
style
>
\ No newline at end of file
</
style
>
youbili-project-backend/pom.xml
浏览文件 @
53d9f016
...
...
@@ -110,7 +110,7 @@
<!-- durid -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid
</artifactId>
<artifactId>
druid
-spring-boot-starter
</artifactId>
<version>
1.2.18
</version>
</dependency>
<dependency>
...
...
youbili-project-backend/src/main/java/cn/tedu/youbiliprojectbackend/pojo/vo/AccountUserVO.java
浏览文件 @
53d9f016
...
...
@@ -12,5 +12,5 @@ public class AccountUserVO {
private
int
Fans
;
private
int
Follows
;
private
int
VideoCount
;
private
String
MembershipStatus
;
}
\ No newline at end of file
youbili-project-backend/src/main/resources/mapper/UserMapper.xml
浏览文件 @
53d9f016
...
...
@@ -29,7 +29,7 @@
OR Email = #{text}
</select>
<select
id=
"selectUserByuserNameOrEmail"
resultType=
"cn.tedu.youbiliprojectbackend.pojo.vo.AccountUserVO"
>
SELECT UserID, Username, Nickname,Email,AccountLevel,Fans,Follows,VideoCount,TotalLikes
SELECT UserID, Username, Nickname,Email,AccountLevel,Fans,Follows,VideoCount,TotalLikes
,MembershipStatus
FROM users
WHERE Username=#{text} OR Email=#{text}
</select>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录