mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-22 10:19:23 +08:00
常见的方法和请求
This commit is contained in:
parent
51498cde8a
commit
74831d9d8b
@ -8,10 +8,13 @@ import io.vertx.core.json.JsonObject;
|
|||||||
* @author wt
|
* @author wt
|
||||||
* @date 2023/06/01
|
* @date 2023/06/01
|
||||||
*/
|
*/
|
||||||
|
@FunctionalInterface
|
||||||
public interface SendMsg<T> extends java.io.Serializable{
|
public interface SendMsg<T> extends java.io.Serializable{
|
||||||
|
|
||||||
default JsonObject toJson(){
|
default JsonObject toJson(){
|
||||||
return JsonObject.mapFrom(this);
|
return JsonObject.mapFrom(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
T of();
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,5 @@ class HttpAsyncUtilTest {
|
|||||||
void exec2() {
|
void exec2() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user