Update README.md

This commit is contained in:
lateautumn4lin 2020-09-15 18:54:54 +08:00 committed by GitHub
parent d3b397a0e2
commit 4d4748021e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ step3: run the test project E.g kuaishou
## Usage
~~**step1** 在源码中加入hook app的包名由于技术lj没有能够实现自动加载配置文件、后续实现~~
已实现自动化,省去该步骤 ~~**step1** 在源码中加入hook app的包名由于技术lj没有能够实现自动加载配置文件、后续实现~~
>路径com.lateautumn4lin.headwolf.entry.BaseEntry
@ -110,7 +110,7 @@ step3: run the test project E.g kuaishou
![step3](https://github.com/lateautumn4lin/headwolf/blob/master/sources/step3.png)
~~**step4** 在Config文件中预先添加handler的实例没有实现动态添加后续补充~~
已实现自动化,省去该步骤 ~~**step4** 在Config文件中预先添加handler的实例没有实现动态添加后续补充~~
>路径com.lateautumn4lin.headwolf.Config
@ -118,6 +118,15 @@ step3: run the test project E.g kuaishou
**案例演示:** 看看实际演示效果!
- group
>也就是Config配置文件中group_pdd/group_kuaishou这两个值当然你也可以自定义group_xxxxx开头的就行
- action
>对应的是每个handler的action获取方法
- name
>这个就是在handler方法中指定的query参数了当然也可以放在post请求的body中
![案例演示](https://github.com/lateautumn4lin/headwolf/blob/master/sources/%E8%B0%83%E7%94%A8%E6%A1%88%E4%BE%8B.png)
## Run tests