You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
969 B
23 lines
969 B
6 years ago
|
# 插件说明
|
||
|
|
||
|
此插件用于直接使用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
|
||
|
使用注意
|
||
|
|
||
|
如果开启了短信验证等,则会抛出对应的错误码,此时无法通过此插件登录。
|