修改文字描述

This commit is contained in:
Anyon 2020-12-22 10:48:10 +08:00
parent a41520a8fc
commit 32898d7acc
5 changed files with 10 additions and 10 deletions

View File

@ -133,7 +133,7 @@ class Keys extends Controller
}
/**
* 配置关注回复
* 配置订阅回复
* @auth true
* @menu true
* @throws \think\db\exception\DataNotFoundException
@ -143,7 +143,7 @@ class Keys extends Controller
public function subscribe()
{
$this->_applyFormToken();
$this->title = '编辑关注回复规则';
$this->title = '编辑订阅回复规则';
$this->_form($this->table, 'form', 'keys', [], ['keys' => 'subscribe']);
}

View File

@ -77,7 +77,7 @@ class Menu extends Controller
{
try {
WechatService::WeChatMenu()->delete();
$this->success('菜单取消成功,重新关注可立即生效!');
$this->success('菜单取消成功,重新订阅可立即生效!');
} catch (HttpResponseException $exception) {
sysoplog('微信管理', '取消微信菜单成功');
throw $exception;

View File

@ -297,7 +297,7 @@ class Push extends Controller
/**
* 同步粉丝状态
* @param boolean $state 关注状态
* @param boolean $state 订阅状态
* @return boolean
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException

View File

@ -25,7 +25,7 @@
<th width="180px" class='text-left nowrap'>微信昵称</th>
<th width="180px"></th>
<th width="150px" class='text-left nowrap'>性别语言</th>
<th width="180px" class='text-left nowrap'>关注时间</th>
<th width="180px" class='text-left nowrap'>订阅时间</th>
<th width="80px"></th>
<th></th>
</tr>
@ -55,7 +55,7 @@
日期:{$vo.subscribe_at|format_datetime|str_replace=' ','<br>时间:',###|raw}
</td>
<td class='text-center nowrap'>
{eq name='vo.subscribe' value='0'}<span class="layui-badge">关注</span>{else}<span class="layui-badge layui-bg-green">关注</span>{/eq}
{eq name='vo.subscribe' value='0'}<span class="layui-badge">订阅</span>{else}<span class="layui-badge layui-bg-green">订阅</span>{/eq}
<br>
{eq name='vo.is_black' value='0'}<span class="layui-badge layui-bg-green">未拉黑</span>{else}<span class="layui-badge">已拉黑</span>{/eq}
</td>

View File

@ -10,10 +10,10 @@
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label">关注状态</label>
<label class="layui-form-label">订阅状态</label>
<label class="layui-input-inline">
<select class="layui-select" name="subscribe">
{foreach [''=>'-- 全部 --','0'=>'显示未关注的粉丝','1'=>'显示已关注的粉丝'] as $k=>$v}
{foreach [''=>'-- 全部 --','0'=>'显示未订阅的粉丝','1'=>'显示已订阅的粉丝'] as $k=>$v}
{if $k.'' eq input('subscribe')}
<option selected value="{$k}">{$v}</option>
{else}
@ -40,9 +40,9 @@
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label">关注时间</label>
<label class="layui-form-label">订阅时间</label>
<label class="layui-input-inline">
<input data-date-range name="subscribe_at" value="{:input('subscribe_at')}" placeholder="请选择关注时间" class="layui-input">
<input data-date-range name="subscribe_at" value="{:input('subscribe_at')}" placeholder="请选择订阅时间" class="layui-input">
</label>
</div>