Commit 69f91878 authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz

parents 0b41a8b0 4dd6a273
...@@ -24,7 +24,7 @@ class GoodsCommonServiceModel extends \Business\AbstractModel ...@@ -24,7 +24,7 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
\Error\ErrorModel::throwException(\Error\CodeConfigModel::emptyCommonId); \Error\ErrorModel::throwException(\Error\CodeConfigModel::emptyCommonId);
} }
$commonGoodsInstance = \DAO\GoodsCommonModel::getInstance(); $commonGoodsInstance = \DAO\GoodsCommonModel::getInstance();
$commonInfo = $this->getOneByIdCache($goodsCommonId); $commonInfo = $commonGoodsInstance->getOneByIdCache($goodsCommonId);
$saleNum = $commonGoodsInstance->getGoodsSaleNumFromCache($goodsCommonId); $saleNum = $commonGoodsInstance->getGoodsSaleNumFromCache($goodsCommonId);
$commonInfo['sale_num'] = $saleNum; $commonInfo['sale_num'] = $saleNum;
if(!$commonInfo){ if(!$commonInfo){
......
...@@ -57,7 +57,7 @@ elastic.master.host="172.16.142.15" ...@@ -57,7 +57,7 @@ elastic.master.host="172.16.142.15"
elastic.master.port="9200" elastic.master.port="9200"
elastic.master.scheme="http"; elastic.master.scheme="http";
password.key='~!@#$`1234qwertasdfgzxcvb';
//生产环境 //生产环境
[product : common] [product : common]
; 数据库配置 ; 数据库配置
...@@ -103,7 +103,7 @@ push.user.service.type=7 ...@@ -103,7 +103,7 @@ push.user.service.type=7
elastic.master.host="127.0.0.1" elastic.master.host="127.0.0.1"
elastic.master.port="9200" elastic.master.port="9200"
elastic.master.scheme="http"; elastic.master.scheme="http";
password.key='~!@#$`1234qwertasdfgzxcvb';
; 生 产环境配置 ; 生 产环境配置
[pre : common] [pre : common]
......
...@@ -94,7 +94,7 @@ $serv->on('Message', function($server, $frame) use($conf){ ...@@ -94,7 +94,7 @@ $serv->on('Message', function($server, $frame) use($conf){
$sendMessage['message']['href']=isset($rev_data['messageHref'])?$rev_data['messageHref']:''; $sendMessage['message']['href']=isset($rev_data['messageHref'])?$rev_data['messageHref']:'';
$sendMessage['message']['price']=isset($rev_data['messagePrice'])?$rev_data['messagePrice']:''; $sendMessage['message']['price']=isset($rev_data['messagePrice'])?$rev_data['messagePrice']:'';
$sendMessage['message']['thumb']=isset($rev_data['messageThumb'])?$rev_data['messageThumb']:''; $sendMessage['message']['thumb']=isset($rev_data['messageThumb'])?$rev_data['messageThumb']:'';
$sendMessage['message']['gmtCreate']= TIMESTAMP; $sendMessage['message']['gmtCreate']= time();
$sendMessage['fromId']=$memberId; $sendMessage['fromId']=$memberId;
$sendMessage['fromUserId']= $rev_data['fromUserId']; $sendMessage['fromUserId']= $rev_data['fromUserId'];
$sendMessage['fromUserName']= $rev_data['fromUserName']; $sendMessage['fromUserName']= $rev_data['fromUserName'];
......
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