2023-09-16 18:17:16 +08:00

14 lines
235 B
PHP

<?php
namespace app\extend\ChatGLM;
use Tinywan\Jwt\JwtToken;
class Utils{
/**
* 设置token
*/
public function setToken(array $data) {
$token = JwtToken::generateToken($data);
return $token;
}
}