Merge branch 'master' into develop
This commit is contained in:
@@ -116,16 +116,9 @@ class IndexController
|
||||
|
||||
public function test(Request $request)
|
||||
{
|
||||
// $chain = \app\common\service\MenuBadgeService::buildBadgeChain(menuId: 226, leafCount: rand(1, 10));
|
||||
// (new \app\common\utils\WsEvents())->pushWebsocket('approval.todo.counts', 74, $chain);
|
||||
|
||||
// $data = [
|
||||
// 'event' => 'approval.todo.counts',
|
||||
// 'user_id' => 74,
|
||||
// 'num' => rand(1, 10),
|
||||
// ];
|
||||
// \Webman\RedisQueue\Redis::send('ws-msg', $data);
|
||||
|
||||
$id = $request->get('id');
|
||||
$service = new \app\common\service\StockOrdersService();
|
||||
$service->createdPdfFile($id);
|
||||
return json(['code' => 0, 'msg' => 'success']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user