Commit f0b7a6ba authored by suntao's avatar suntao

放款操作文案提示

parent 4e4328f5
......@@ -86,7 +86,7 @@ public class OrderController {
@PostMapping("/lending")
public Result<Boolean> lending(@RequestBody @Valid LendingFormModel lendingFormModel) {
if (debugModel) {
return Result.buildSuccess(this.orderService.lending(lendingFormModel));
return Result.buildSuccess(this.orderService.lending(lendingFormModel), this.orderService.lending(lendingFormModel) ? "放款操作成功" : "放款操作失败");
} else {
return Result.buildSuccess(false,"无此操作");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment