add async service for plugin

This commit is contained in:
joyqi
2017-11-15 14:25:02 +08:00
parent 5f3620e058
commit f180e8452d
6 changed files with 174 additions and 4 deletions
+11
View File
@@ -63,6 +63,17 @@ class Helper
return $widget;
}
/**
* 请求异步服务
*
* @param $method
* @param $params
*/
public static function requestService($method, $params)
{
Typecho_Widget::widget('Widget_Service')->requestService($method, $params);
}
/**
* 强行删除某个插件
*