Commit d9b1f2cc authored by wwccw0591's avatar wwccw0591

message

parent f4c8a45b
......@@ -143,8 +143,9 @@ class MessageServiceModel extends \Business\AbstractModel
}
if ($type == ApiConst::storeMessageType) {
$store = \DAO\StoreModel::getInstance();
$storeData = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$store, 'getInfoById'), array($userid, $store->detailField), \Our\ApiConst::oneDaySecond);
$avatar = $storeData['storeLabel'];
$storeData =$store->get($userid);
//\Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$store, 'getInfoById'), array($userid, $store->detailField), \Our\ApiConst::oneDaySecond,array());
$avatar = $storeData['store_label'];
// $avatar = $store->getInfoById($userid, 'store_label', 'store_label');
$avatar = Common::getStaticFile($avatar, ImageConst::storeLabel, ImageConst::imageDomain);
}
......
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