41 lines
2.0 KiB
PHP
41 lines
2.0 KiB
PHP
<?php
|
||
// +----------------------------------------------------------------------
|
||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||
// +----------------------------------------------------------------------
|
||
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
|
||
// +----------------------------------------------------------------------
|
||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
// +----------------------------------------------------------------------
|
||
// | Author: liu21st <liu21st@gmail.com>
|
||
// +----------------------------------------------------------------------
|
||
|
||
return [
|
||
'__pattern__' => [
|
||
'name' => '\w+',
|
||
],
|
||
'[hello]' => [
|
||
':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
|
||
':name' => ['index/hello', ['method' => 'post']],
|
||
],
|
||
|
||
// Author 背调 / Scopus(兼容 /api/author/ 与 /api/Author/)
|
||
'api/author/index' => 'api/Author/index',
|
||
'api/author/background_report' => 'api/Author/background_report',
|
||
'api/author/due_diligence' => 'api/Author/due_diligence',
|
||
'api/author/background_check' => 'api/Author/background_check',
|
||
'api/author/get_hindex' => 'api/Author/get_hindex',
|
||
'api/author/get_scopus_id' => 'api/Author/get_scopus_id',
|
||
'api/author/check_scopus_cookie' => 'api/Author/check_scopus_cookie',
|
||
'api/author/check_elsevier_api' => 'api/Author/check_elsevier_api',
|
||
'api/Author/index' => 'api/Author/index',
|
||
'api/Author/background_report' => 'api/Author/background_report',
|
||
'api/Author/backgroundReport' => 'api/Author/background_report',
|
||
'api/Author/due_diligence' => 'api/Author/due_diligence',
|
||
'api/Author/dueDiligence' => 'api/Author/due_diligence',
|
||
'api/Author/background_check' => 'api/Author/background_check',
|
||
'api/Author/get_hindex' => 'api/Author/get_hindex',
|
||
'api/Author/get_scopus_id' => 'api/Author/get_scopus_id',
|
||
'api/Author/check_elsevier_api' => 'api/Author/check_elsevier_api',
|
||
|
||
];
|