jun3
jun3
执行代码 ```php Gateway::$registerAddress = "{$host}:{$port}"; echo "register=", Gateway::$registerAddress, PHP_EOL; while(true) { var_dump([ 'Gateway::getAllUidCount()' => Gateway::getAllUidCount(), 'getClientIdByUid' => Gateway::getClientIdByUid('123'), ]); sleep(1); } ``` 执行的日志 ```log [centos@ip-172-20-4-112 GatewayWorker]$ php -f ./bin/demo.php register=127.0.0.1:1239...
request: ``` messageJson={"noticeBarInfo":{"noticeBarType":0,"title":"这是一条推送标题","content":"这是一条推送内容"},"noticeExpandInfo":{"noticeExpandType":1,"noticeExpandContent":"这是一条推送内容"},"clickTypeInfo":{"clickType":0,"url":"","parameters":{},"activity":"","customAttribute":""},"pushTimeInfo":{"offLine":1,"validTime":24},"advanceInfo":{"suspend":0,"clearNoticeBar":1,"fixDisplay":0,"fixStartDisplayTime":0,"fixEndDisplayTime ":0,"notificationType":{"vibrate":1,"lights":1,"sound":1},"notifyKey":""}} ``` response: ``` {"code":"500","message":"content is empty","redirect":"","value":""} ```
 Multiple parts of the framework use **signal.Notify** method is used to listen for program shutdown signals, resulting in the inability to properly direct all struct Shutdown methods before each...