昵称问题

This commit is contained in:
2025-12-05 09:58:22 +08:00
parent ec61f138e6
commit e4dc67bb16
4 changed files with 10 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ use app\chat\model\ChatDoNotDisturb;
use app\common\controller\ApiController;
use app\exception\MyBusinessException;
use app\utils\Session;
use ba\Random;
use support\Log;
use support\Request;
use support\Response;
@@ -122,6 +123,7 @@ class GroupController extends ApiController
Db::startTrans();
// 创建群
$group_id = Db::name('chat_group')->insertGetId([
'id' => Random::build('alnum', 32),
'name' => $name,
'shop_id' => $shop_id,
'avatar' => $avatar,