群信息
This commit is contained in:
@@ -24,7 +24,7 @@ class GroupController extends ApiController
|
|||||||
if (empty($shop_id)) {
|
if (empty($shop_id)) {
|
||||||
return $this->error('参数不存在');
|
return $this->error('参数不存在');
|
||||||
}
|
}
|
||||||
return $this->success(Db::name('chat_group')->where(['shop_id' => $shop_id, 'owner_id' => $this->uid])->find());
|
return $this->success(Db::name('chat_group')->where(['shop_id' => $shop_id])->find());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ namespace extend\chat\model;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 给发送者反馈
|
// 给发送者反馈
|
||||||
Gateway::sendToClient($client_id, self::sendGormat($message));
|
Gateway::sendToClient($client_id, self::sendGormat($message, $message));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user