Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
chenchuanwen
my-yaf-project
Commits
47e4ed57
Commit
47e4ed57
authored
Sep 30, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc
parent
da07a336
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
Message.php
application/controllers/Message.php
+0
-1
MessageService.php
application/models/Business/Message/MessageService.php
+1
-0
getSet.php
public/test/message/getSet.php
+1
-1
No files found.
application/controllers/Message.php
View file @
47e4ed57
...
@@ -153,7 +153,6 @@ class MessageController extends \Our\Controller_AbstractApi {
...
@@ -153,7 +153,6 @@ class MessageController extends \Our\Controller_AbstractApi {
}
}
public
function
getSetAction
(){
public
function
getSetAction
(){
echo
23424
;
exit
;
$memberCenterService
=
\Business\User\MemberCenterServiceModel
::
getInstance
();
$memberCenterService
=
\Business\User\MemberCenterServiceModel
::
getInstance
();
$messageSet
=
$memberCenterService
->
getMessageSet
(
$this
->
memberId
);
$messageSet
=
$memberCenterService
->
getMessageSet
(
$this
->
memberId
);
if
(
!
empty
(
$messageSet
)){
if
(
!
empty
(
$messageSet
)){
...
...
application/models/Business/Message/MessageService.php
View file @
47e4ed57
...
@@ -46,6 +46,7 @@ class MessageServiceModel extends \Business\AbstractModel
...
@@ -46,6 +46,7 @@ class MessageServiceModel extends \Business\AbstractModel
*/
*/
public
static
function
getInstance
()
public
static
function
getInstance
()
{
{
echo
23424
;
exit
;
if
(
!
(
self
::
$_instance
instanceof
self
))
{
if
(
!
(
self
::
$_instance
instanceof
self
))
{
self
::
$_instance
=
new
self
();
self
::
$_instance
=
new
self
();
}
}
...
...
public/test/message/getSet.php
View file @
47e4ed57
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</head>
</head>
<body>
<body>
<form
action=
"/message/getSet"
method=
"post"
>
<form
action=
"/message/getSet"
method=
"post"
>
用户登录状态key:
<input
name=
"data[key]"
value=
"
ca44044c38f5a6d06ddd7304e1c7666
c"
/><br
/>
用户登录状态key:
<input
name=
"data[key]"
value=
"
687688f35b1fe2fbef39a85537aafd9
c"
/><br
/>
debug:
<input
name=
"data[debug]"
value=
"1"
/><br
/>
debug:
<input
name=
"data[debug]"
value=
"1"
/><br
/>
<input
type=
"submit"
value=
"提交"
>
<input
type=
"submit"
value=
"提交"
>
</form>
</form>
...
...
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