Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
16f5bc5b
authored
Oct 15, 2025
by
gongyang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交代码
parent
74d8a6b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
23 deletions
config/msgconfig.php
public/.htaccess
public/js/Message/getNotice.js
config/msgconfig.php
View file @
16f5bc5b
...
...
@@ -9,7 +9,7 @@
return
[
//域名
'domain_local'
=>
'message.liexin.net'
,
'domain_local'
=>
'message.liexin
dev
.net'
,
'domain_sz'
=>
'szmessage.ichunt.net'
,
'domain_release'
=>
'message.ichunt.net'
,
...
...
public/.htaccess
View file @
16f5bc5b
<
IfModule
mod_rewrite.c
>
<
IfModule
mod_negotiation.c
>
Options
-MultiViews
</
IfModule
>
RewriteEngine
On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteRule
^ index.php [L]
</
IfModule
>
<
IfModule
deflate_module
>
# 对js,html,xml,css,普通文本开启Gzip压缩
AddOutputFilterByType
DEFLATE application/x-javascript text/html text/plain text/xml text/css
</
IfModule
>
public/js/Message/getNotice.js
View file @
16f5bc5b
...
...
@@ -17,7 +17,7 @@ layui.use(['layer'], function(){
if
(
host
.
indexOf
(
'ichunt.net'
)
!=
-
1
)
{
requestUrl
=
'http://message.ichunt.net/notice/getNotice'
}
else
{
requestUrl
=
'http://message.liexin.net/notice/getNotice'
requestUrl
=
'http://message.liexin
dev
.net/notice/getNotice'
}
$
.
ajax
({
...
...
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