Commit 1b9c9d27 authored by wwccw0591's avatar wwccw0591

message

parent 8d3469c0
...@@ -146,6 +146,11 @@ class MessageServiceModel extends \Business\AbstractModel ...@@ -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 = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$store, 'getInfoById'), array($userid, $store->detailField), \Our\ApiConst::oneDaySecond,array($userid));
$storeData=$store->getStoreInfoCache($userid); $storeData=$store->getStoreInfoCache($userid);
$avatar = $storeData['store_label']; $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 = $store->getInfoById($userid, 'store_label', 'store_label');
// $avatar = $storeData[ApiConst::one]; // $avatar = $storeData[ApiConst::one];
} }
......
<!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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment