Commit d7843f65 authored by hujun's avatar hujun

1

parent b04ac3de
...@@ -681,21 +681,21 @@ class PushMessageService ...@@ -681,21 +681,21 @@ class PushMessageService
$record_data['message'] = '您有一笔罚款需要支付,罚款编号:'.$id; $record_data['message'] = '您有一笔罚款需要支付,罚款编号:'.$id;
$record_data['title'] = '新增处罚'; $record_data['title'] = '新增处罚';
$s_redis = new RedisCacheService(); // $s_redis = new RedisCacheService();
$agent_data = $s_redis->getRedisCache(2, $agent_id); // $agent_data = $s_redis->getRedisCache(2, $agent_id);
if (!empty($agent_data)) { // if (!empty($agent_data)) {
$m_agent = new AAgents(); // $m_agent = new AAgents();
$where['store_id'] = $agent_data['store_id']; // $where['store_id'] = $agent_data['store_id'];
$where['level'] = ['in', '20,40']; // $where['level'] = ['in', '20,40'];
$where['id'] = ['<>', $agent_id]; // $where['id'] = ['<>', $agent_id];
$where['status'] = 0; // $where['status'] = 0;
$store_agent_id = $m_agent->getFieldOneValue('id', $where); // $store_agent_id = $m_agent->getFieldOneValue('id', $where);
//
if ($store_agent_id) { // if ($store_agent_id) {
$agent_id_arr[] = $store_agent_id; // $agent_id_arr[] = $store_agent_id;
} // }
} // }
$this->recordCheck(8, $agent_id_arr, $operation_id, $record_data); $this->recordCheck(8, $agent_id_arr, $operation_id, $record_data);
return true; return true;
......
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