You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
322 B
14 lines
322 B
<?php
|
|
namespace app\home\controller;
|
|
|
|
use app\home\service\NoticeService;
|
|
|
|
class Notice extends HomeBaseController
|
|
{
|
|
// 生成Beams身份验证令牌
|
|
public function generateToken()
|
|
{
|
|
$returnData = (new NoticeService())->generateToken($this->request->param());
|
|
return json($returnData);
|
|
}
|
|
}
|