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
1b9c9d27
Commit
1b9c9d27
authored
Oct 19, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
message
parent
8d3469c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
MessageService.php
application/models/Business/Message/MessageService.php
+5
-0
get1.php
public/test/message/get1.php
+18
-0
No files found.
application/models/Business/Message/MessageService.php
View file @
1b9c9d27
...
...
@@ -146,6 +146,11 @@ class MessageServiceModel extends \Business\AbstractModel
// $storeData = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$store, 'getInfoById'), array($userid, $store->detailField), \Our\ApiConst::oneDaySecond,array($userid));
$storeData
=
$store
->
getStoreInfoCache
(
$userid
);
$avatar
=
$storeData
[
'store_label'
];
if
(
$avatar
)
{
$avatar
=
\Our\Common
::
getStaticFile
(
$avatar
,
\Our\ImageConst
::
storeLabel
,
'ossHost'
);
}
else
{
$avatar
=
\Our\Common
::
getStaticFile
(
ImageConst
::
defaultStoreLabelName
,
ImageConst
::
defaultPath
);
}
// $avatar = $store->getInfoById($userid, 'store_label', 'store_label');
// $avatar = $storeData[ApiConst::one];
}
...
...
public/test/message/get1.php
0 → 100644
View file @
1b9c9d27
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
获得已发送消息的用户列表和(系统消息,订单消息,快递用户消息最后一条消息)
</title>
<style>
</style>
</head>
<body>
<form
action=
"/message/get"
method=
"post"
>
用户登录状态key:
<input
name=
"data[key]"
value=
"fd4b739c4815297044191451eabf0eb5"
/><br
/>
<input
type=
"submit"
value=
"提交"
>
</form>
</body>
</html>
\ No newline at end of file
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