配置接口lang请求头

This commit is contained in:
2026-03-10 11:42:39 +08:00
parent 9452fd28e2
commit 275f94f96d
8 changed files with 178 additions and 10 deletions

View File

@@ -4,8 +4,8 @@ declare(strict_types=1);
namespace app\api\controller\v1;
use app\api\cache\AuthTokenCache;
use app\api\controller\BaseController;
use app\api\util\ReturnCode;
use plugin\saiadmin\basic\OpenController;
use support\Request;
use support\Response;
use Tinywan\Jwt\JwtToken;
@@ -16,7 +16,7 @@ use Tinywan\Jwt\JwtToken;
* GET 参数signature, secret, time, agent_id
* 签名signature = md5(agent_id.secret.time)
*/
class AuthTokenController extends OpenController
class AuthTokenController extends BaseController
{
/**
* 获取 auth-token