Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
safe-campus-bbs
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
万成波
safe-campus-bbs
Commits
688ebc98
Commit
688ebc98
authored
Dec 03, 2025
by
yuwenwen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.tangguo.ren/2300064869/safe-campus-bbs
parents
e3829402
aa072503
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
safe-campus-admin/src/main/resources/application-dev.yml
safe-campus-admin/src/main/resources/application-dev.yml
+2
-2
safe-campus-admin/src/main/resources/application-test.yml
safe-campus-admin/src/main/resources/application-test.yml
+2
-2
safe-campus-bbs-uniapp/config/index.config.js
safe-campus-bbs-uniapp/config/index.config.js
+2
-2
safe-campus-bbs-uniapp/utils/request.js
safe-campus-bbs-uniapp/utils/request.js
+1
-1
safe-campus-moment/src/main/resources/mapper/BbsMomentCommentMapper.xml
...ment/src/main/resources/mapper/BbsMomentCommentMapper.xml
+5
-2
No files found.
safe-campus-admin/src/main/resources/application-dev.yml
View file @
688ebc98
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
# 企业微信配置
# 企业微信配置
wx
:
wx
:
cp
:
cp
:
pc-redirect-url
:
https://test.tangguo.ren/
bbs/pc/
wechatlogin
pc-redirect-url
:
https://test.tangguo.ren/wechatlogin
mobile-redirect-url
:
https://test.tangguo.ren/
bbs
h5/pages/login/login
mobile-redirect-url
:
https://test.tangguo.ren/h5/pages/login/login
corp-id
:
ww63ca87d5f8647514
corp-id
:
ww63ca87d5f8647514
app-configs
:
app-configs
:
-
name
:
'
移动端应用配置'
-
name
:
'
移动端应用配置'
...
...
safe-campus-admin/src/main/resources/application-test.yml
View file @
688ebc98
...
@@ -95,8 +95,8 @@ spring:
...
@@ -95,8 +95,8 @@ spring:
# 企业微信配置
# 企业微信配置
wx
:
wx
:
cp
:
cp
:
pc-redirect-url
:
https://test.tangguo.ren/
bbs/pc/
wechatlogin
pc-redirect-url
:
https://test.tangguo.ren/wechatlogin
mobile-redirect-url
:
https://test.tangguo.ren/
bbs
h5/pages/login/login
mobile-redirect-url
:
https://test.tangguo.ren/h5/pages/login/login
corp-id
:
ww63ca87d5f8647514
corp-id
:
ww63ca87d5f8647514
app-configs
:
app-configs
:
-
name
:
'
移动端应用配置'
-
name
:
'
移动端应用配置'
...
...
safe-campus-bbs-uniapp/config/index.config.js
View file @
688ebc98
...
@@ -13,7 +13,7 @@ const CONFIG = {
...
@@ -13,7 +13,7 @@ const CONFIG = {
production
:
{
production
:
{
debug
:
false
,
debug
:
false
,
platformName
:
'
社区
'
,
platformName
:
'
社区
'
,
requestUrl
:
'
/
bbs/
prod-api
'
,
requestUrl
:
'
/prod-api
'
,
videoLimitSize
:
10
,
videoLimitSize
:
10
,
secret
:
'
775d4e98-49d8-86d7-48c9-c93b5f7c0c16
'
,
secret
:
'
775d4e98-49d8-86d7-48c9-c93b5f7c0c16
'
,
appId
:
'
jfsq
'
,
appId
:
'
jfsq
'
,
...
...
safe-campus-bbs-uniapp/utils/request.js
View file @
688ebc98
safe-campus-moment/src/main/resources/mapper/BbsMomentCommentMapper.xml
View file @
688ebc98
...
@@ -114,17 +114,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -114,17 +114,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
c.user_name,
c.user_name,
c.content,
c.content,
c.parent_id,
c.parent_id,
c.reply_nick_name,
c.is_featured,
c.is_featured,
c.is_top,
c.is_top,
c2.nick_name AS reply_nick_name,
c2.content AS reply_content,
v.option_code AS vote_option_code,
v.option_code AS vote_option_code,
IF(c.user_name = #{userName}, 1, 0) AS is_self
IF(c.user_name = #{userName}, 1, 0) AS is_self
FROM
FROM
bbs_moment_comment c
bbs_moment_comment c
LEFT JOIN
bbs_moment_comment c2 ON c2.id = c.parent_id
INNER JOIN
INNER JOIN
bbs_moment m ON m.id = c.moment_id
bbs_moment m ON m.id = c.moment_id
LEFT JOIN
LEFT JOIN
(SELECT * FROM bbs_moment_vote WHERE user_name = #{userName}) v ON v.moment_id = m.id
bbs_moment_vote v ON v.moment_id = m.id AND v.user_name = c.user_name
WHERE
WHERE
m.id = #{momentId}
m.id = #{momentId}
AND
AND
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment