增加注册时根据公司进行自动授权&&调整资源列表返回

This commit is contained in:
mzl@hnxinyouhe.com
2025-08-13 15:18:36 +08:00
parent cd4de8b206
commit 2696f52db2
4 changed files with 114 additions and 8 deletions
+12 -6
View File
@@ -106,12 +106,18 @@ class IndexController
public function test()
{
$data = [
'code' => 'GD20250703-1DC80',
'category' => '账号类问题',
'content' => '这是一条测试工单内容。'
];
\app\common\utils\email\MailSend::send('mzl@hnxinyouhe.com', '【XYH】新的工单提醒', replaceTpl($data, 'work_order'));
// $data = [
// 'code' => 'GD20250703-1DC80',
// 'category' => '账号类问题',
// 'content' => '这是一条测试工单内容。'
// ];
// \app\common\utils\email\MailSend::send('mzl@hnxinyouhe.com', '【XYH】新的工单提醒', replaceTpl($data, 'work_order'));
// $options = [
// 'corp_id' => 3,
// 'user_id' => 666
// ];
// \Webman\RedisQueue\Redis::send('perm-agt', $options);
return 22;
}