微信标签管理

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

@@ -12,8 +12,15 @@
$router->group('wechat', function () use ($router){
// 公众号粉丝
$router->group('official/users', function () use ($router){
$router->get('<nextOpenid?>', '\catchAdmin\wechat\controller\Users@index');
$router->get('', '\catchAdmin\wechat\controller\Users@index');
$router->put('remark/<id>/<remark>', '\catchAdmin\wechat\controller\Users@remark');
$router->put('block/<id>', '\catchAdmin\wechat\controller\Users@block');
$router->get('sync', '\catchAdmin\wechat\controller\Users@sync');
});
// 粉丝标签
$router->group('official/tags', function () use ($router){
$router->resource('', '\catchAdmin\wechat\controller\Tags');
$router->get('sync', '\catchAdmin\wechat\controller\Tags@sync');
});
});