@WrapperAction("search")
public class SearchBeanHandler implements ActionRequestHandler {
@Override
public Object handleRequest(InvokeRequest invokeRequest) {
String key = invokeRequest.getString("key");
if (StringUtils.isBlank(key)) {
return InvokeResult.failed("the param {key} not presented");
}
String attach_info = invokeRequest.getString("attach_info");
Object uniqueID = XposedHelpers.callStaticMethod(ClassLoadMonitor.tryLoadClass("com.tencent.ttpic.util.Utils"), "generateUniqueId");
if (StringUtils.isBlank(attach_info)) {
attach_info = "";
}
return WeishiUtil.sendRequest(XposedHelpers.newInstance(ClassLoadMonitor.tryLoadClass("com.tencent.oscar.module.discovery.ui.adapter.h")
, uniqueID, key, 0, 0, attach_info));
}
}
@WrapperAction("search") java 这种写法是什么意思?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…