代码拉取完成,页面将自动刷新
service 2 api easily
swoole
composer jesusslim/pinject
...
\gwyn\Example\Foo::run();
then
php index.php
post url:
http://localhost:9876?service=test_closure
post params:
a = 3
b = 4
result:
{
"status": 1,
"result": 12
}
...
\gwyn\Example\Foo::runMulti();
then
php index.php
post url:
http://localhost:9876?services=test_class|sum2,test_closure
post params:
a = 15
result:
{
"status": 1,
"result": 3200
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。