Commit 49fd56fb authored by clone's avatar clone

Merge branch 'test'

parents b5b59089 30c68f15
...@@ -363,6 +363,7 @@ class Broker extends Basic ...@@ -363,6 +363,7 @@ class Broker extends Basic
* @return \think\Response * @return \think\Response
*/ */
public function token(){ public function token(){
header('Access-Control-Allow-Origin:*');
$jwt = new JwtUntils(); $jwt = new JwtUntils();
$data['phone'] = $this->params['phone']; $data['phone'] = $this->params['phone'];
$token = $jwt->createToken($data); $token = $jwt->createToken($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