mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 进一步提高wiki的适配性
This commit is contained in:
parent
ef53faeaf5
commit
3d95891dd7
@ -13,7 +13,7 @@
|
||||
<br />
|
||||
<div class="ui text container" style="max-width: none !important;">
|
||||
<div class="ui floating message">
|
||||
<h2 class='ui header'>接口唯一标识:<a target="_blank" href="http://{$_SERVER['HTTP_HOST']}/api/{$apiInfo['hash']}">{$apiInfo['hash']}</a>({$apiInfo['apiName']})</h2><br />
|
||||
<h2 class='ui header'>接口唯一标识:<a target="_blank" href="{:U('/api/'.$apiInfo['hash'])}">{$apiInfo['hash']}</a>({$apiInfo['apiName']})</h2><br />
|
||||
<switch name="apiInfo['method']" >
|
||||
<case value="1" break="1"> <span class='ui orange tag label'>POST</span></case>
|
||||
<case value="2" break="1"> <span class='ui blue tag label'>GET</span></case>
|
||||
|
@ -17,7 +17,8 @@
|
||||
<button class="ui orange button" style="margin-top: 15px">算法详解</button>
|
||||
</a>
|
||||
<div class="ui teal message">
|
||||
<strong>API统一访问地址:</strong> http://{$_SERVER['HTTP_HOST']}/api/接口唯一标识
|
||||
<php>$http_type = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) ? 'https://' : 'http://';</php>
|
||||
<strong>API统一访问地址:</strong> {$http_type}{$_SERVER['HTTP_HOST']}/api/接口唯一标识
|
||||
</div>
|
||||
<div class="ui floating message">
|
||||
<div class="content">
|
||||
|
Loading…
x
Reference in New Issue
Block a user