mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 05:52:43 +08:00
同步更新代码
This commit is contained in:
parent
5f130765ba
commit
c6ffb56e9a
@ -38,7 +38,7 @@ class Service extends Plugin
|
||||
* 定义插件名称
|
||||
* @var string
|
||||
*/
|
||||
protected $appName = '微信数据管理';
|
||||
protected $appName = '微信管理';
|
||||
|
||||
/**
|
||||
* 定义安装包名
|
||||
|
@ -48,7 +48,7 @@ class Fans extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$this->setQueueSuccess($this->_list() . $this->_tags() . $this->_black());
|
||||
$this->setQueueSuccess($this->_list() . $this->_black());
|
||||
}
|
||||
|
||||
/**
|
||||
@ -112,12 +112,12 @@ class Fans extends Command
|
||||
}
|
||||
$next = $result['total'] > $done ? $result['next_openid'] : null;
|
||||
}
|
||||
$this->setQueueProgress(sprintf('完成更新 %v 个黑名单', $result['total']), null, 1);
|
||||
$this->setQueueProgress(sprintf('完成更新 %s 个黑名单', $result['total']), null, 1);
|
||||
$this->output->newLine();
|
||||
if (empty($result['total'])) {
|
||||
return ', 其中黑名单 0 人';
|
||||
} else {
|
||||
return sprintf(', 其中黑名单 %v 人', $result['total']);
|
||||
return sprintf(', 其中黑名单 %s 人', $result['total']);
|
||||
}
|
||||
}
|
||||
|
||||
@ -144,6 +144,6 @@ class Fans extends Command
|
||||
}
|
||||
$this->output->comment($done > 0 ? '微信用户标签数据获取完成' : '未获取到微信用户标签数据');
|
||||
$this->output->newLine();
|
||||
return sprintf(', 获取到 %v 个标签', $done);
|
||||
return sprintf(', 获取到 %s 个标签', $done);
|
||||
}
|
||||
}
|
||||
|
@ -168,7 +168,7 @@
|
||||
{if isset($vo['id'])}<input type='hidden' value='{$vo.id}' name='id'>{/if}
|
||||
{if isset($vo['code'])}<input type='hidden' value='{$vo.code}' name='code'>{/if}
|
||||
<button class="layui-btn menu-submit">保存数据</button>
|
||||
<button data-history-back class="layui-btn layui-btn-danger" type='button'>取消编辑</button>
|
||||
<button data-target-backup class="layui-btn layui-btn-danger" type='button'>取消编辑</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -120,7 +120,7 @@
|
||||
<a class="layui-btn layui-btn-sm" data-width="950px" data-modal="{:url('edit')}?id={{d.id}}" data-title="编辑回复规则">编 辑</a>
|
||||
<!--{/if}-->
|
||||
<!--{if auth("remove") and isset($type) and $type neq 'index'}-->
|
||||
<a class="layui-btn layui-btn-sm layui-btn-danger" data-action="{:url('remove')}" data-value="id#{{d.id}}" data-confirm="确定要删除该用户吗?">删 除</a>
|
||||
<a class="layui-btn layui-btn-sm layui-btn-danger" data-action="{:url('remove')}" data-value="id#{{d.id}}" data-confirm="确定要删除该规则吗?">删 除</a>
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
{/block}
|
@ -35,4 +35,4 @@
|
||||
"zoujingli/think-install": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user