mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-10-20 17:33:42 +08:00
插件中心更新
This commit is contained in:
@@ -49,13 +49,13 @@ class Plugin
|
||||
// 获取平台所有支持插件
|
||||
public static function getAllPlugin(): array
|
||||
{
|
||||
$app_plugin = self::getHttpResponse(self::$siteUrl . '/mpay/getPlugins/');
|
||||
$app_plugin = self::getHttpResponse(self::$siteUrl . '/mpay/getplugins');
|
||||
return json_decode($app_plugin, true);
|
||||
}
|
||||
// 获取通知消息
|
||||
public static function getNotifyMessage(): array
|
||||
{
|
||||
$message = self::getHttpResponse(self::$siteUrl . '/mpay/message/');
|
||||
$message = self::getHttpResponse(self::$siteUrl . '/mpay/message');
|
||||
return json_decode($message, true);
|
||||
}
|
||||
// 请求外部资源
|
||||
|
Reference in New Issue
Block a user