zhaoyingbo cabc23ae77
Some checks are pending
Egg CI/CD / build-image (push) Waiting to run
Egg CI/CD / deploy (push) Blocked by required conditions
feat: 支持根据用户组转发消息
2024-03-04 12:01:14 +00:00

14 lines
286 B
TypeScript

import { managePb404 } from "../../utils/pbTools";
import pbClient from "../pbClient";
const getOne = (groupId: string) =>
managePb404(
async () => await pbClient.collection("message_group").getOne(groupId)
);
const messageGroup = {
getOne,
};
export default messageGroup;