新增上传

This commit is contained in:
JaguarJack
2020-06-29 20:02:33 +08:00
parent 08fb8b3397
commit f2affda157
2 changed files with 64 additions and 0 deletions

View File

@@ -36,6 +36,11 @@ $router->group('wechat', function () use ($router){
$router->group('official/reply', function () use ($router){
$router->resource('', '\catchAdmin\wechat\controller\Reply');
});
// 微信回复管理
$router->group('official/upload', function () use ($router){
$router->post('/image', '\catchAdmin\wechat\controller\Upload@image');
$router->post('/file', '\catchAdmin\wechat\controller\Upload@file');
});
})->middleware('auth');
// 消息