Commit c1936de8 authored by hujun's avatar hujun

更新经纪人手机号缓存

parent 026972e7
......@@ -10,6 +10,7 @@ namespace app\api_broker\controller;
use app\api_broker\extend\Basic;
use app\api_broker\service\CallPhoneService;
use app\api_broker\service\RedisCacheService;
use app\api_broker\untils\PlsDemo;
use app\model\AAgentsPhone;
use app\model\BindingPhone;
......@@ -139,6 +140,9 @@ class CellPhone extends Basic
} else {
$this->data = $agents_phone->add($this->params['agents_id'], $this->params['phone']);
}
$s_redis = new RedisCacheService();
$s_redis->agentCache($this->params['agents_id']);
}
return $this->response($this->code, $this->msg, $this->data);
......
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