diff --git a/插件开发.md b/插件开发.md index 7f7349f..2b5b72e 100644 --- a/插件开发.md +++ b/插件开发.md @@ -62,6 +62,18 @@ or } ``` +# 页面JS方法说明 +``` +pluginService('redis') +回调用 /www/server/mdserver-web/redis/index.py {start|stop|status} + +pluginInitD('redis') +回调用 /www/server/mdserver-web/redis/index.py {initd_start|initd_stop|initd_status} +``` + + + + ### 例子 - https://github.com/mw-plugin/simple-plugin - https://github.com/midoks/mw-gerapy