Commit b53b2ace authored by wwccw0591's avatar wwccw0591

pc

parent e49b0251
...@@ -196,7 +196,7 @@ class Push ...@@ -196,7 +196,7 @@ class Push
{ {
$storeDao=\DAO\StoreModel::getInstance(); $storeDao=\DAO\StoreModel::getInstance();
$condition['store_id'] = $storeId; $condition['store_id'] = $storeId;
$store = \Our\RedisHelper::cachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$this->storeDao, 'getInfo'), array($condition), ApiConst::oneDaySecond, array($storeId)); $store = \Our\RedisHelper::cachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$storeDao, 'getInfo'), array($condition), ApiConst::oneDaySecond, array($storeId));
//$store = $storeDao->getInfo(array('store_id'=>$storeId)); //$store = $storeDao->getInfo(array('store_id'=>$storeId));
$orderService=\Business\Order\OrderServiceModel::getInstance(); $orderService=\Business\Order\OrderServiceModel::getInstance();
$order=$orderService->getOrderDetail($orderId); $order=$orderService->getOrderDetail($orderId);
......
...@@ -15,6 +15,7 @@ $http->on('request', function ($request, $response) { ...@@ -15,6 +15,7 @@ $http->on('request', function ($request, $response) {
try{ try{
$respData=$request->post; $respData=$request->post;
echo json_encode($respData); echo json_encode($respData);
echo 'abcdefg'.'|||||||||||';
if(isset($respData['type'])&&$respData['type']==1){ if(isset($respData['type'])&&$respData['type']==1){
$info=$respData['content']; $info=$respData['content'];
$memberDao=$info['className']::getInstance(\Our\DbNameConst::masterDBConnectName); $memberDao=$info['className']::getInstance(\Our\DbNameConst::masterDBConnectName);
......
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