Song.Site/Templates/Web/_Public/Help/API.htm
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!doctype html>
<html>
<head>
<title>API接口方法说明</title>
<vt:include file="../inc/meta_api.inc" />
<link href="Styles/api.css?ver={$version}" rel="stylesheet" type="text/css" />
<meta charset="utf-8">
</head>
<body>
<header>
ViewData API接口方法说明
</header>
<section>
<menu id="menu">
<div class="tit"> <i class="el-icon-set-up"></i>API list
<div class="searchbox"> <i class="el-icon-search"></i>
<form> <input type="text" name="search" id="apisearch" autofocus v-model="apisearch" />
</form>
</div>
</div>
<dl>
<dd v-for="(u,i) in apilist">
<methods :name="u.Name" :intro="u.Intro" :index="i+1"></methods>
</dd>
<dd v-if="apilist.length<1" class="noapi">
<span>没有接口信息</span>
</dd>
</dl>
</menu>
<context id="context">
<div class="method" v-if="method!=null">
<attr><b>特性:</b>
<span v-for="item in method.Attrs">[{{item.Name}}
<i v-show='item.Ignore'>
(Ignore={{item.Ignore}})</i>
<i v-show='item.Expires>0' title='缓存过期时间'>
(Expires={{item.Expires}})</i>] </span>
<span v-if="method.Attrs.length<1">无</span>
</attr>
<name>{{method.ClassName +'.'+method.Name}}<para>{{parameter}}</para></name>
<intro><b>摘要:</b>{{method.Intro}}</intro>
<params>
<table cellspacing="0" cellpadding="0" width="100%" border="0"
v-show="method.Paras.length>0">
<tr>
<th width="40">#</th>
<th width="100">参数</th>
<th width="110">测试值</th>
<th width="80">类型</th>
<th>说明</th>
</tr>
<tr v-for="(item,index) in method.Paras">
<td>{{index+1}}</td>
<td>{{item.Name}}</td>
<td><input type="text" :name="item.Name" v-on:input.prevent="teststring()" :datatype="item.Type"/></td>
<td>{{item.Type.substring(item.Type.indexOf('.')+1)}}</td>
后面还有 76 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
