微信标签管理
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user