perf:场馆和用户接口
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.xiang.app.server.jntyzx;
|
||||
|
||||
import com.xiang.app.modules.jntyzx.service.IJtOrderService;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Author: xiang
|
||||
* @Date: 2026-04-09 10:01
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/private/apps/jntyzx/order")
|
||||
@RequiredArgsConstructor
|
||||
public class OrderServer {
|
||||
private final IJtOrderService orderService;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.xiang.app.server.jntyzx;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.xiang.app.module.jntyzx.pojo.req.VenueInfoQueryRequest;
|
||||
import com.xiang.app.module.jntyzx.pojo.req.VenueInfoSubscribeRequest;
|
||||
import com.xiang.app.module.jntyzx.pojo.resp.VenueInfoQueryResp;
|
||||
import com.xiang.app.modules.jntyzx.service.IVenueService;
|
||||
import com.xiang.xservice.basic.common.resp.Result;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @Author: xiang
|
||||
* @Date: 2026-04-09 09:36
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/private/apps/jntyzx/venue")
|
||||
@RequiredArgsConstructor
|
||||
public class VenueInfoServer {
|
||||
|
||||
private final IVenueService venueService;
|
||||
|
||||
@PostMapping("/page")
|
||||
public Result<Page<VenueInfoQueryResp>> list(@RequestBody @NotNull(message = "请求参数不能为空") @Valid VenueInfoQueryRequest request) {
|
||||
return Result.data(venueService.list(request));
|
||||
}
|
||||
|
||||
@PostMapping("/subscribe")
|
||||
public Result<Boolean> subscribe(@RequestBody @NotNull(message = "请求参数不能为空") @Valid VenueInfoSubscribeRequest request) {
|
||||
return Result.data(null);
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ spring:
|
||||
namespace: 00131110-3ecb-4a35-8bbb-624edde1d937
|
||||
server-addr: http://general.xiangtech.xyz:8848
|
||||
# 是否启用健康检查
|
||||
register-enabled: false
|
||||
# register-enabled: false
|
||||
username: nacos
|
||||
password: nacos
|
||||
datasource:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: local
|
||||
active: outside
|
||||
application:
|
||||
name: xservice-cornucopia
|
||||
main:
|
||||
|
||||
Reference in New Issue
Block a user