Commit c56327b1 authored by zw's avatar zw

bug

parent 5afd34c6
......@@ -18,6 +18,7 @@ use app\api_broker\service\BrokerService;
use app\api_broker\service\CallPhoneService;
use app\api_broker\service\ClientService;
use app\api_broker\service\OrderLogService;
use app\extra\RedisExt;
use app\index\service\UserService;
use app\model\AAgents;
use app\model\ABindingDevice;
......@@ -173,6 +174,10 @@ class Broker extends Basic
$data['data']['AuthToken'] = $jwt->createToken($jwt_data);
$data['msg'] = '登陆成功';
$redis_ = RedisExt::getRedis();
$redis_->set("agent_city_" . $agents_data['id'], $site_city[0]['city']);
$redis_->set("agent_site_id_" . $agents_data['id'], $agents_data['site_id']);
return $this->response(200, $data['msg'], $data['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