mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
24 lines
579 B
PHP
24 lines
579 B
PHP
<?php
|
||
|
||
namespace app\api\controller;
|
||
|
||
|
||
use app\util\StrRandom;
|
||
use think\facade\App;
|
||
|
||
class Miss extends Base {
|
||
public function index() {
|
||
$this->debug([
|
||
'TpVersion' => App::version(),
|
||
'Float' => StrRandom::randomPhone()
|
||
]);
|
||
|
||
return $this->buildSuccess([
|
||
'Product' => config('apiadmin.APP_NAME'),
|
||
'Version' => config('apiadmin.APP_VERSION'),
|
||
'Company' => config('apiadmin.COMPANY_NAME'),
|
||
'ToYou' => "I'm glad to meet you(终于等到你!)"
|
||
]);
|
||
}
|
||
}
|