昵称问题
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user