|
|
@@ -44,21 +44,21 @@ public class StadiumController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- /**
|
|
|
- * 添加订单
|
|
|
- * 写入订单信息: 下单人id, 订单编号, 下单时间, 支付状态:待支付
|
|
|
- * 调用者传递参数: 用户id, 联系人, 联系电话, 赛事id, 订单类型,
|
|
|
- * return orderId 订单id
|
|
|
- */
|
|
|
- @PostMapping("/toBeStadium")
|
|
|
- public AjaxResult addStadium(@RequestBody Stadium stadium) {
|
|
|
- String orderId = stadiumService.toBeStadium(stadium);
|
|
|
- if (StringUtils.isNotEmpty(orderId)) {
|
|
|
- return AjaxResult.success("下单成功",orderId);
|
|
|
- } else {
|
|
|
- return AjaxResult.error("下单失败");
|
|
|
- }
|
|
|
- }
|
|
|
+// /**
|
|
|
+// * 添加订单
|
|
|
+// * 写入订单信息: 下单人id, 订单编号, 下单时间, 支付状态:待支付
|
|
|
+// * 调用者传递参数: 用户id, 联系人, 联系电话, 赛事id, 订单类型,
|
|
|
+// * return orderId 订单id
|
|
|
+// */
|
|
|
+// @PostMapping("/toBeStadium")
|
|
|
+// public AjaxResult addStadium(@RequestBody Stadium stadium) {
|
|
|
+// String orderId = stadiumService.toBeStadium(stadium);
|
|
|
+// if (StringUtils.isNotEmpty(orderId)) {
|
|
|
+// return AjaxResult.success("下单成功",orderId);
|
|
|
+// } else {
|
|
|
+// return AjaxResult.error("下单失败");
|
|
|
+// }
|
|
|
+// }
|
|
|
//
|
|
|
// /**
|
|
|
// * 通过订单id取消订单
|