Comments (9)
Thanks for opening your first issue here! Be sure to follow the issue template!
from notify.
Branch issue-22-Guanguans_Notify_Messages_DingTalk_actionCard_对象处理有点问题,btns会重复 created!
from notify.
@wqsacy 这个是在验证每一个 btn
的信息,好像没啥问题吧
from notify.
@wqsacy 这个是在验证每一个
btn
的信息,好像没啥问题吧
我按照列子写了一个demo,发现传入的按钮会重复出现,我是在组建了Message 对象后,强制更新了 btns 对象值 ,才能正常使用。
from notify.
@wqsacy 可以贴一下你使用的代码吗,我看一下。
from notify.
@wqsacy 可以贴一下你使用的代码吗,我看一下。
$params = [
'text' => "杭州天气dsds" ,
'title' => 'this is title' ,
'btns' => [
[
'title' => 'btn1' ,
'actionURL' => 'https://github.com/guanguans/notify' ,
] ,
[
'title' => 'btn2' ,
'actionURL' => 'https://github.com/guanguans/notify' ,
]
]
];
$messageObj = new BtnsActionCardMessage( $params );
return Factory::dingTalk()
->setToken( 'token' )
->setSecret( 'secret' )
->setMessage( $messageObj )
->send();
from notify.
@wqsacy 是有问题,重复添加了。我有时间改一下吧。或者你改一下 pr 过来也行。
from notify.
@wqsacy 是有问题,重复添加了。我有时间改一下吧。或者你改一下 pr 过来也行。
看时间哈,有时间pr一下
from notify.
@wqsacy 已修复,请尝试更新至最新版本。
from notify.
Related Issues (14)
- 替换wrench/wrench为Textalk/websocket-php HOT 12
- 希望以服务/容器方式部署,暴露HTTP接口,以便跨语言使用 HOT 3
- 是否支持切换http客户端? HOT 4
- DingTalk 的 atUserIds 参数是错的,实际 atDingtalkIds 才生效 HOT 5
- 什么时间可以支持微软的teams呢? HOT 7
- 添加飞书自建应用 HOT 4
- Is there a demonstration? Where to put the code? HOT 3
- 什么时间可以支持docker方式部署 HOT 2
- 计划支持Laravel Notifications扩展? HOT 3
- Root composer.json requires nunomaduro/php, it could not be found in any version, there may be a typo in the package name HOT 4
- pushplus接口地址更新 HOT 3
- 是否能支持laravel8.76.*及以上 HOT 3
- 能兼容下symfony/options-resolver 6吗? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notify.