API接口-authtoken
This commit is contained in:
@@ -13,6 +13,7 @@ return [
|
||||
'You have no permission' => 'No permission to operate!',
|
||||
'Captcha error' => 'Captcha error!',
|
||||
'Parameter %s can not be empty' => 'Parameter %s can not be empty',
|
||||
'Parameter signature/secret/agent_id/time can not be empty' => 'Parameter signature/secret/agent_id/time can not be empty',
|
||||
'Invalid timestamp' => 'Invalid timestamp',
|
||||
'Timestamp expired' => 'Timestamp expired',
|
||||
'Invalid agent or secret' => 'Invalid agent or secret',
|
||||
|
||||
@@ -43,6 +43,7 @@ return [
|
||||
'You have no permission' => '没有权限操作!',
|
||||
'Parameter error' => '参数错误!',
|
||||
'Parameter %s can not be empty' => '参数%s不能为空',
|
||||
'Parameter signature/secret/agent_id/time can not be empty' => '参数 signature/secret/agent_id/time 不能为空',
|
||||
'Invalid timestamp' => '无效的时间戳',
|
||||
'Timestamp expired' => '时间戳已过期',
|
||||
'Invalid agent or secret' => '代理或密钥无效',
|
||||
|
||||
@@ -109,7 +109,7 @@ Route::post('/api/account/retrievePassword', [\app\api\controller\Account::class
|
||||
Route::post('/api/ems/send', [\app\api\controller\Ems::class, 'send']);
|
||||
|
||||
// api/v1 鉴权
|
||||
Route::add(['GET', 'POST'], '/api/v1/authToken', [\app\api\controller\v1\Auth::class, 'authToken']);
|
||||
Route::get('/api/v1/authToken', [\app\api\controller\v1\Auth::class, 'authToken']);
|
||||
|
||||
// ==================== Admin 路由 ====================
|
||||
// Admin 多为 JSON API,前端可能用 GET 传参查列表、POST 提交表单,使用 any 确保兼容
|
||||
|
||||
1
web/types/tableRenderer.d.ts
vendored
1
web/types/tableRenderer.d.ts
vendored
@@ -8,6 +8,7 @@ type TableRenderer =
|
||||
| 'icon'
|
||||
| 'image'
|
||||
| 'images'
|
||||
| 'ipWhiteList'
|
||||
| 'switch'
|
||||
| 'tag'
|
||||
| 'tags'
|
||||
|
||||
Reference in New Issue
Block a user