创建租赁订单,不要传递套餐id,改成选择网络和资源类型,修改对应的接口,和api-debugger调试页面,和套餐页面的立即租赁的页面入参。
This commit is contained in:
1 parent
8605c946c9
commit
dafa5261bd
20 files changed
+381
-119
No files matched your search
@@ -224,7 +224,7 @@ public class RentalController {
|
||||
@PostMapping("/order")
|
||||
@PreAuthorize("@ss.hasPermi('rent:order:create')")
|
||||
public AjaxResult order(@RequestBody Map<String, Object> body) {
|
||||
Map<String, Object> order = orders.create(number(body, "app_id"), user(), body);
|
||||
Map<String, Object> order = orders.createByResource(number(body, "app_id"), user(), body);
|
||||
return AjaxResult.success(
|
||||
map(
|
||||
"id",
|
||||
|
||||
Reference in new issue
Block a user