微信标签管理

This commit is contained in:
JaguarJack
2020-06-21 18:04:30 +08:00
parent 4392f25e97
commit fbf9c11191
10 changed files with 400 additions and 11 deletions

View File

@@ -14,6 +14,7 @@ use catchAdmin\wechat\repository\WechatUsersRepository;
use catcher\base\CatchController;
use catcher\CatchResponse;
use catcher\Utils;
use think\facade\Console;
class Users extends CatchController
{
@@ -60,6 +61,13 @@ class Users extends CatchController
return CatchResponse::success($this->user->block($id));
}
public function sync()
{
Console::call('sync:users');
return CatchResponse::success('', 'success');
}
public function subscribe()
{