Commit 134f2925 authored by hujun's avatar hujun

empty

parent b92be3f4
...@@ -580,7 +580,7 @@ class PushMessageService ...@@ -580,7 +580,7 @@ class PushMessageService
{ {
$redis = new RedisCacheService(); $redis = new RedisCacheService();
$agent_data = $redis->getRedisCache(2, $agent_id); $agent_data = $redis->getRedisCache(2, $agent_id);
if ($agent_data) { if (empty($agent_data)) {
return false; return false;
} }
......
...@@ -41,7 +41,7 @@ class Cost extends Basic ...@@ -41,7 +41,7 @@ class Cost extends Basic
$field .= 'b.name as agent_name,a.site_id'; $field .= 'b.name as agent_name,a.site_id';
$fee_model = new FApplyForFee(); $fee_model = new FApplyForFee();
if ($this->params['excel'] != 1) { if (empty($this->params['excel'])) {
$list = $fee_model->getJoinAgentList($pageNo, $pageSize, 'a.ID DESC', $field, $where); $list = $fee_model->getJoinAgentList($pageNo, $pageSize, 'a.ID DESC', $field, $where);
$data['list'] = &$list; $data['list'] = &$list;
$data['total'] = $fee_model->getJoinAgentListTotal($where); $data['total'] = $fee_model->getJoinAgentListTotal($where);
......
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