mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
98 lines
6.0 KiB
HTML
98 lines
6.0 KiB
HTML
{extend name='../../admin/view/main'}
|
||
|
||
{block name="button"}
|
||
|
||
{if auth("edit")}
|
||
<button data-modal="{:url('edit')}" class='layui-btn layui-btn-sm layui-btn-primary'>配置平台参数</button>
|
||
{/if}
|
||
|
||
{/block}
|
||
|
||
{block name="content"}
|
||
<div class="relative">
|
||
|
||
<div class="think-box-shadow border-0 margin-bottom-20">
|
||
强烈建议安装 YAR 扩展来实现接口通信,SOAP 不能正常显示接口的异常信息
|
||
</div>
|
||
|
||
<div class="think-box-shadow padding-right-40 padding-left-40">
|
||
<div class="layui-row layui-col-space18">
|
||
<div class="layui-col-md6">
|
||
<div class="layui-form-item">
|
||
<span class="color-green font-w7">开放平台服务</span>
|
||
<span class="color-desc margin-left-5">AppID</span>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:sysconf('service.component_appid')}">
|
||
<a data-copy="{:sysconf('service.component_appid')}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">开放平台服务 AppID,需要在微信开放平台获取</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<span class="color-green font-w7">开放平台服务</span>
|
||
<span class="color-desc margin-left-5">AppSecret</span>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:sysconf('service.component_appsecret')}">
|
||
<a data-copy="{:sysconf('service.component_appsecret')}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">开放平台服务 AppSecret,需要在微信开放平台获取</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<span class="color-green font-w7">开放平台消息校验</span>
|
||
<span class="color-desc margin-left-5">Token</span>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:sysconf('service.component_token')}">
|
||
<a data-copy="{:sysconf('service.component_token')}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">开发者在代替微信接收到消息时,用此 Token 来校验消息</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<span class="color-green font-w7">开放平台消息加解密</span>
|
||
<span class="color-desc margin-left-5">AesKey</span>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:sysconf('service.component_encodingaeskey')}">
|
||
<a data-copy="{:sysconf('service.component_encodingaeskey')}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">在代替微信收发消息时使用,必须是长度为43位字母和数字组合的字符串</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layui-col-md6">
|
||
<div class="layui-form-item">
|
||
<p class="color-green font-w7">授权发起页域名</p>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:request()->host()}">
|
||
<a data-copy="{:request()->host()}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">从本域名跳转到登录授权页才可以完成登录授权,无需填写域名协议前缀</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<span class="color-green font-w7">授权事件接收地址</span>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:url('@service/api.push/ticket',[],false,true)}">
|
||
<a data-copy="{:url('@service/api.push/ticket',[],false,true)}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">用于接收取消授权通知、授权成功通知、授权更新通知、接收 TICKET 凭据</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<span class="color-green font-w7">微信消息与事件接收</span>
|
||
<label class="relative block">
|
||
<input disabled class="layui-input layui-bg-gray" value="{:url('@service/api.push/notify/\$APPID\$',[],false,true)}">
|
||
<a data-copy="{:url('@service/api.push/notify/\$APPID\$',[],false,true)}" class="fa fa-copy input-right-icon"></a>
|
||
</label>
|
||
<p class="help-block">通过该 URL 接收微信消息和事件推送,$APPID$ 将被替换为微信 AppId</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<p class="color-green font-w7">客户端系统 Yar 模块接口</p>
|
||
<label class="relative block"><input disabled class="layui-input layui-bg-gray" value="{:url('@service/api.client/yar/PARAM',[],false,true)}"></label>
|
||
<p class="help-block">客户端 Yar 接口,PARAM 规则 AppName-AppId-AppKey-AppType</p>
|
||
</div>
|
||
<div class="layui-form-item">
|
||
<p class="color-green font-w7">客户端系统 Soap 模块接口</p>
|
||
<label class="relative block"><input disabled class="layui-input layui-bg-gray" value="{:url('@service/api.client/soap/PARAM',[],false,true)}"></label>
|
||
<p class="help-block">客户端 Soap 接口,PARAM 规则 AppName-AppId-AppKey-AppType</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{/block} |