data_center/app/adminapi/controller/archives/ArchivesController.php

21 lines
451 B
PHP
Raw Normal View History

<?php
namespace app\adminapi\controller\archives;
use app\adminapi\controller\BaseAdminController;
class ArchivesController extends BaseAdminController
{
protected array $reqHeader = [];
public function initialize()
{
parent::initialize();
$this->reqHeader = [
"appid:".env('app.app_id'),
"timestamp:".time(),
"sign:".makeSign(['appid'=>env('app.app_id'),'timestamp'=>time()],env('app.app_secret'))
];
}
}