Coder Social home page Coder Social logo

Comments (5)

zhzy0077 avatar zhzy0077 commented on August 25, 2024

感谢反馈。如果需求是给不同的联系人发送消息的话,支持在发送的时候指定接受人是不是会更方便解决这个问题?

from pipehub.

wnma3mz avatar wnma3mz commented on August 25, 2024

感谢反馈。如果需求是给不同的联系人发送消息的话,支持在发送的时候指定接受人是不是会更方便解决这个问题?

感谢您的迅速回复,但一个应用不是指定了某个标签的群体吗?这样的话就只能一直固定给这个群体发消息,或者需要每次手动更改接受人。我想对于其他群体发送不同的消息通知就不是很好处理了

from pipehub.

zhzy0077 avatar zhzy0077 commented on August 25, 2024

现在的实现里是固定的的 to_user: "@all" 也就是给这个应用覆盖的所有用户发送。我现在有两个思路:

  • 一个是通过在每次发送的时候指定要发送的人(就是这个账号ID)通过 | 或者啥符号分割:
    image
  • 第二个是通过部门来分群体,一个人可以在多个部门里,在发送时指定一个部门ID,也可以是名字之类的:
    image

我直觉上看是人少的时候第一种方便,人多的话第二种容易管理,能详细描述下你的场景吗?

from pipehub.

wnma3mz avatar wnma3mz commented on August 25, 2024

我个人更倾向于第二种。我自己是想做类似订阅通知服务这种,定时爬取并推送感兴趣的新闻标题和摘要。您这种服务,对于个人来使用自然没有问题,但我后续想同样给我的朋友使用。

比如有A、B、C三种资讯,有三种类型的好友甲乙丙。甲标签用户想同时订阅A、B、C,乙只想订阅A,乙想订阅B、C。

因此更倾向于第二种。目前只是一个设想,实际用户规模也不会很庞大,所以两种实际差不多。

from pipehub.

zhzy0077 avatar zhzy0077 commented on August 25, 2024

有道理,我其实也更倾向通过部门/组织去管理这个,加到 TODO 里了哈

from pipehub.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.