* Add document link for entry.
This commit is contained in:
@@ -4,3 +4,5 @@ $config->entry->create->requiredFields = 'name, code, key';
|
||||
|
||||
$config->entry->edit = new stdclass();
|
||||
$config->entry->edit->requiredFields = 'name, code, key';
|
||||
|
||||
$config->entry->help = 'http://www.zentao.net/book/zentaopmshelp/integration-287.html';
|
||||
|
||||
@@ -28,10 +28,10 @@ $lang->entry->url = '请求地址';
|
||||
$lang->entry->apiIndex = '应用入口';
|
||||
$lang->entry->saveSuccess = '保存成功';
|
||||
$lang->entry->confirmDelete = '您确认要删除该应用吗?';
|
||||
$lang->entry->help = '使用说明';
|
||||
|
||||
$lang->entry->note = new stdClass();
|
||||
$lang->entry->note->name = '授权应用名称';
|
||||
$lang->entry->note->code = '授权应用代号,必须为字母或数字的组合';
|
||||
$lang->entry->note->ip = "允许访问API的应用ip,多个ip用逗号隔开。支持IP段,如192.168.1.*";
|
||||
$lang->entry->note->allIP = '无限制';
|
||||
$lang->entry->note->api = 'moduleName、methodName以及参数列表替换成实际的值';
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->entry->apiIndex;?></th>
|
||||
<td colspan='2'><?php echo common::getSysURL() . DS . "api.php?{$config->moduleVar}=moduleName&{$config->methodVar}=methodName&<span>params=params</span>&code=code&token=token";?></td>
|
||||
<th><?php echo $lang->entry->help;?></th>
|
||||
<td colspan='2'><?php echo html::a($config->entry->help, '', "target='_blank'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->entry->apiIndex;?></th>
|
||||
<td colspan='2'><?php echo common::getSysURL() . DS . "api.php?{$config->moduleVar}=moduleName&{$config->methodVar}=methodName&<span>params=params</span>&token=token";?></td>
|
||||
<th><?php echo $lang->entry->help;?></th>
|
||||
<td colspan='2'><?php echo html::a($config->entry->help, '', "target='_blank'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
||||
@@ -13,6 +13,7 @@ $lang->webhook->edit = '编辑钩子';
|
||||
$lang->webhook->delete = '删除钩子';
|
||||
|
||||
$lang->webhook->id = 'ID';
|
||||
$lang->webhook->type = '类型';
|
||||
$lang->webhook->name = '名称';
|
||||
$lang->webhook->url = 'Hook地址';
|
||||
$lang->webhook->contentType = '内容类型';
|
||||
|
||||
Reference in New Issue
Block a user