Here are the examples of the java api com.blade.mvc.http.Request.bodyToString() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : CallbackController.java
with MIT License
from biezhi
with MIT License
from biezhi
@PostRoute("payjs")
public String payjs(Request request) {
String body = request.bodyToString();
log.info("收到PAYJS支付回调1: {}", body);
return "success";
}
17
Source : CallbackController.java
with MIT License
from biezhi
with MIT License
from biezhi
@PostRoute("youzan")
public String youzan(Request request) {
String body = request.bodyToString();
log.info("收到有赞支付回调: {}", body);
makeMoneyService.execCallback(Platform.YOUZAN, body);
return "success";
}