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
40563cb3
authored
Dec 22, 2025
by
gongyang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交代码
parent
38477a9e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
3 deletions
app/Http/Controllers/MessageController.php
app/Http/Controllers/NoticeController.php
config/msgconfig.php
public/js/Message/businessNotice.js
public/js/Message/getNotice.js
resources/views/message/businessNotice.blade.php
app/Http/Controllers/MessageController.php
View file @
40563cb3
...
@@ -728,5 +728,15 @@ class MessageController extends Controller
...
@@ -728,5 +728,15 @@ class MessageController extends Controller
return
view
(
'common'
,
$data
);
return
view
(
'common'
,
$data
);
}
}
private
function
businessNotice
(
Request
$request
,
$id
,
$viewid
)
{
$perms_arr
=
[
'businessNotice'
];
$res_perm
=
$this
->
getUserPerms
(
$request
,
$perms_arr
);
$data
=
[
'have_perm'
=>
$res_perm
,
'id'
=>
$id
,
];
return
view
(
'common'
,
$data
);
}
}
}
\ No newline at end of file
app/Http/Controllers/NoticeController.php
View file @
40563cb3
...
@@ -29,6 +29,11 @@ class NoticeController extends Controller
...
@@ -29,6 +29,11 @@ class NoticeController extends Controller
}
}
}
}
private
function
Export
(
$errcode
=
0
,
$errmsg
=
'成功'
,
$data
=
''
){
private
function
Export
(
$errcode
=
0
,
$errmsg
=
'成功'
,
$data
=
''
){
echo
json_encode
([
'errcode'
=>
$errcode
,
'errmsg'
=>
$errmsg
,
'data'
=>
$data
]);
echo
json_encode
([
'errcode'
=>
$errcode
,
'errmsg'
=>
$errmsg
,
'data'
=>
$data
]);
exit
();
exit
();
...
...
config/msgconfig.php
View file @
40563cb3
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
return
[
return
[
//域名
//域名
'domain_local'
=>
'message.liexin
dev
.net'
,
'domain_local'
=>
'message.liexin.net'
,
'domain_sz'
=>
'szmessage.ichunt.net'
,
'domain_sz'
=>
'szmessage.ichunt.net'
,
'domain_release'
=>
'message.ichunt.net'
,
'domain_release'
=>
'message.ichunt.net'
,
...
@@ -28,7 +28,7 @@ return [
...
@@ -28,7 +28,7 @@ return [
'perm_bid_sz'
=>
6
,
'perm_bid_sz'
=>
6
,
'perm_bid_release'
=>
6
,
'perm_bid_release'
=>
6
,
'perm_domain_local'
=>
"http://perm.liexin.net"
,
'perm_domain_local'
=>
"http://perm.liexin
dev
.net"
,
'perm_domain_sz'
=>
"http://perm.ichunt.net"
,
'perm_domain_sz'
=>
"http://perm.ichunt.net"
,
'perm_domain_release'
=>
"http://perm.ichunt.net"
,
'perm_domain_release'
=>
"http://perm.ichunt.net"
,
...
...
public/js/Message/businessNotice.js
0 → 100644
View file @
40563cb3
File mode changed
public/js/Message/getNotice.js
View file @
40563cb3
...
@@ -17,7 +17,7 @@ layui.use(['layer'], function(){
...
@@ -17,7 +17,7 @@ layui.use(['layer'], function(){
if
(
host
.
indexOf
(
'ichunt.net'
)
!=
-
1
)
{
if
(
host
.
indexOf
(
'ichunt.net'
)
!=
-
1
)
{
requestUrl
=
'http://message.ichunt.net/notice/getNotice'
requestUrl
=
'http://message.ichunt.net/notice/getNotice'
}
else
{
}
else
{
requestUrl
=
'http://message.liexin
dev
.net/notice/getNotice'
requestUrl
=
'http://message.liexin.net/notice/getNotice'
}
}
$
.
ajax
({
$
.
ajax
({
...
...
resources/views/message/businessNotice.blade.php
0 → 100644
View file @
40563cb3
File mode changed
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