修改公众号服务平台

This commit is contained in:
Anyon 2019-12-09 14:04:17 +08:00
parent af9e8e493b
commit b3704611fb
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ class Queue extends Controller
try {
$this->command = ProcessService::instance()->think('xtask:start');
$this->message = $this->app->console->call('xtask:state')->fetch();
$this->listen = preg_match('/主进程\d+/', $this->message, $attr);
$this->listen = preg_match('/主进程.*?\d+/', $this->message, $attr);
} catch (\Exception $exception) {
$this->message = $exception->getMessage();
}

View File

@ -21,7 +21,7 @@
<div class="layui-form-item">
<label class="relative block">
<span class="color-green font-w7">开放平台消息校验 Token</span>
<input name="service.component_token" required placeholder="请输入微信消息校验Token" value="{:sysconf('service.component_token')}" class="layui-input">
<input name="service.component_token" required placeholder="请输入开放平台消息校验Token" value="{:sysconf('service.component_token')}" class="layui-input">
</label>
<p class="help-block">开发者在代替微信接收到消息时,用此 Token 来校验消息</p>
</div>
@ -29,7 +29,7 @@
<div class="layui-form-item">
<label class="relative block">
<span class="color-green font-w7">开放平台消息加解密 AesKey</span>
<input name="service.component_encodingaeskey" required pattern="^.{43}$" maxlength="43" placeholder="请输入43位微信消息加解密Key" value="{:sysconf('service.component_encodingaeskey')}" class="layui-input">
<input name="service.component_encodingaeskey" required pattern="^.{43}$" maxlength="43" placeholder="请输入43位开放平台消息加解密Key" value="{:sysconf('service.component_encodingaeskey')}" class="layui-input">
</label>
<p class="help-block">在代替微信收发消息时使用必须是长度为43位字母和数字组合的字符串</p>
</div>