初始化本地仓库
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\adminapi\schema\response\plugin;
|
||||
|
||||
use OpenApi\Attributes as OA;
|
||||
|
||||
#[OA\Schema(
|
||||
title: '应用授权响应模型',
|
||||
description: '应用授权接口返回数据结构'
|
||||
)]
|
||||
class ApplicationAuthResponse
|
||||
{
|
||||
#[OA\Property(property: 'id', description: '主键', type: 'string', example: '234161405304516608')]
|
||||
public string $id;
|
||||
|
||||
#[OA\Property(property: 'name', description: '应用名称', type: 'string', example: '开放平台应用')]
|
||||
public string $name;
|
||||
|
||||
#[OA\Property(property: 'access_key', description: 'Access Key', type: 'string', example: 'AK1234567890ABCDEF')]
|
||||
public string $access_key;
|
||||
|
||||
#[OA\Property(property: 'secret_key', description: 'Secret Key', type: 'string', example: 'SK1234567890ABCDEF')]
|
||||
public string $secret_key;
|
||||
|
||||
#[OA\Property(property: 'expired_at', description: '失效时间戳', type: 'integer', example: 1795104000, nullable: true)]
|
||||
public ?int $expired_at;
|
||||
|
||||
#[OA\Property(property: 'expired_date', description: '失效时间', type: 'string', example: '2026-11-20 00:00:00', nullable: true)]
|
||||
public ?string $expired_date;
|
||||
|
||||
#[OA\Property(property: 'enabled', description: '状态', type: 'integer', example: 1)]
|
||||
public int $enabled;
|
||||
|
||||
#[OA\Property(property: 'description', description: '描述', type: 'string', example: '用于第三方应用接口调用', nullable: true)]
|
||||
public ?string $description;
|
||||
|
||||
#[OA\Property(property: 'created_at', description: '创建时间戳', type: 'integer', example: 1795104000, nullable: true)]
|
||||
public ?int $created_at;
|
||||
|
||||
#[OA\Property(property: 'created_date', description: '创建时间', type: 'string', example: '2026-07-20 18:00:00', nullable: true)]
|
||||
public ?string $created_date;
|
||||
|
||||
#[OA\Property(property: 'created_name', description: '创建人', type: 'string', example: '超级管理员', nullable: true)]
|
||||
public ?string $created_name;
|
||||
|
||||
#[OA\Property(property: 'updated_date', description: '更新时间', type: 'string', example: '2026-07-20 18:00:00', nullable: true)]
|
||||
public ?string $updated_date;
|
||||
|
||||
#[OA\Property(property: 'updated_name', description: '修改人', type: 'string', example: '超级管理员', nullable: true)]
|
||||
public ?string $updated_name;
|
||||
}
|
||||
Reference in New Issue
Block a user