Skip to content

Commit

Permalink
修复路由错误
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyan74 committed Jun 29, 2019
1 parent e3fa6e7 commit 8cbce7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
'controller' => ['v1/file'],
'pluralize' => false,
'extraPatterns' => [
'POST images' => 'images1', // 图片上传
'POST videos' => 'videos1', // 视频上传
'POST images' => 'images', // 图片上传
'POST videos' => 'videos', // 视频上传
'POST voices' => 'voices', // 语音上传
'POST files' => 'files', // 文件上传
'POST base64-img' => 'base64-img', // base64上传 其他上传权限自己添加
Expand Down

0 comments on commit 8cbce7c

Please sign in to comment.