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