From eefc75e2af40010f51f704db694c329331f75454 Mon Sep 17 00:00:00 2001 From: richie Date: Mon, 14 Oct 2019 11:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..1c0ade2 --- /dev/null +++ b/readme.md @@ -0,0 +1,23 @@ +# 插件说明 + +此插件用于直接使用get请求拼接用户名,密码,保持登录,跳转url四个参数,进行登录并跳转。 + +GET /url/login + +|参数|类型|说明| +|fine_username|RequestParam参数|用户名| +|fine_password|RequestParam参数|密码| +|validity|RequestParam参数|保存登录,-2:保持登录| +|origin|RequestParam参数|跳转url,需要使用base64编码| + +如果origin参数为空,则跳转到首页。 +使用示例 + +工程路径webroot, servlet路径decision. + +请求: http://localhost:8081/webroot/decision/url/login?fine_username=Yang&fine_password=1634&validity=-1&origin=aHR0cDovL2xvY2FsaG9zdDo4MDgxL3dlYnJvb3QvZGVjaXNpb24vdmlldy9mb3JtP3ZpZXdsZXQ9ZGVtby9ob21lcGFnZS9maW5lcmVwb3J0LmZybQ== + +登录成功后跳转到:http://localhost:8081/webroot/decision/view/form?viewlet=demo/homepage/finereport.frm +使用注意 + +如果开启了短信验证等,则会抛出对应的错误码,此时无法通过此插件登录。 \ No newline at end of file