Code Monkey home page Code Monkey logo

easynotice's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easynotice's Issues

引入飞书消息通知后,启动不了。

报错信息定位到:FeishuOptions
错误信息如下:
Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.Extensions.Hosting.IHostedService Lifetime: Singleton ImplementationType: Mall.Marketing.MqQueues.LikeEventFeishuNoticeQueue': Cannot consume scoped service 'Microsoft.Extensions.Options.IOptionsSnapshot1[EasyNotice.FeishuOptions]' from singleton 'Microsoft.Extensions.Hosting.IHostedService'.)
`
代码配置如下图:
image
环境是.Net 6。
请大佬帮忙看下,感谢!

请为程序集添加强名称

由于消息通知组件没有进行程序集签名,导致相关引用的程序集也不得不放弃签名,
例如A引用B,如果B没有签名,那么A也将不能签名,否则运行时程序集将出现强名称验证异常。

image

发送微信消息返回值IsSuccess处理存在BUG

以下是企业微信返回的消息:
{"errcode":0,"errmsg":"ok"}

但是在EasyNoticeSendResponse类中,
public bool IsSuccess => string.IsNullOrEmpty(ErrMsg);

判断errmsg是否为空表示成功,这明显errmsg不是空的,最终导致返回结果失败,实际是成功的

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.