Comments (4)
您好,这个接口是支持多用户发送的,您是在实际使用中发现不可以吗?还是有其他的疑问?欢迎抛出讨论。
from server-sdk-php.
看了你们的例子是这样的 多个toUserId。。。 sdk 是可以用的 但是看sdk 貌似是toUserId是数组
POST /message/private/publish.json HTTP/1.1
Host: api.cn.ronghub.com
App-Key: uwd1c0sxdlx2
Timestamp: 1408706337
Nonce: 14314
Signature: 890b422b75c1c5cb706e4f7921df1d94e69c17f4
Content-Type: Application/x-www-form-urlencoded
content={"content":"c#hello"}&fromUserId=2191&toUserId=2191&toUserId=2192&objectName=RC:TxtMsg&pushContent=thisisapush&pushData={"pushData":"hello"}&count=4
from server-sdk-php.
抱歉没事了 没有注意build_query方法~
from server-sdk-php.
好的,多谢反馈,这个地方我们重写了构造 url 的函数,这种url形式 php 代码可能会造成只能解析一个toUrserId,容易造成误解,欢迎提问题~!
from server-sdk-php.
Related Issues (17)
- example.php好像都不好使了,更新一下把。。。 HOT 1
- Message类的PublishSystem方法首字母应该小写
- 建议使用命名空间, 特别是User类, 很容易和现有系统的User类冲突 HOT 1
- Message的publishPrivate,publishSystem,publishGroup等等方法的最后两个参数没有写默认值
- 在sdk中没有找到sendNotify发送通知类短信方法,但在官网中有提到 HOT 6
- 使用docker环境,参数正确情况返回int 7 HOT 1
- 没有找到获取token的方法。 HOT 1
- 请求把server-sdk-php-composer项目也更新到3.0 HOT 2
- 这个SDK写得还不如旧版的 HOT 1
- 发送消息失败
- 支持设置超时时间
- 代码错误
- composer repository 不是最新代码 HOT 1
- RongCloud\Lib\Group\Gag\Gag.php(61)
- 建议封装成composer组件包 HOT 1
- 将sdk同步到Packagist HOT 7
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 server-sdk-php.