This repository was archived by the owner on Jan 4, 2020. It is now read-only.
Commit 2f464ad
committed
Update RestController.class.php
当url未定义访问类型时,如:http://localhost/Home/Index/index
其HTTP_ACCEPT为:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
应该优先匹配 'html' => 'text/html,application/xhtml+xml,*/*',
而不是xml1 parent 2189bd5 commit 2f464ad
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments