add async service for plugin
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
* 强行删除某个插件
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user