Commit 134f2925 authored by hujun's avatar hujun

empty

parent b92be3f4
......@@ -580,7 +580,7 @@ class PushMessageService
{
$redis = new RedisCacheService();
$agent_data = $redis->getRedisCache(2, $agent_id);
if ($agent_data) {
if (empty($agent_data)) {
return false;
}
......
......@@ -41,7 +41,7 @@ class Cost extends Basic
$field .= 'b.name as agent_name,a.site_id';
$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);
$data['list'] = &$list;
$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