Commit 9a6c845e authored by zw's avatar zw

验证autoken

parent 2f003dd3
<?php
namespace app\api_broker\controller;
/**
* Created by PhpStorm.
* User: hu jun
......@@ -6,7 +8,6 @@
* Time: 16:59
*/
namespace app\api_broker\controller;
use app\api\untils\GenerateCodeUntils;
......@@ -17,7 +18,6 @@ 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,11 +173,6 @@ 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