增加app端搜索球杆商品
This commit is contained in:
parent
0f46cb0389
commit
3b85b8bd40
@ -24,6 +24,7 @@
|
||||
<module>tmerclub-common-mongodb</module>
|
||||
<module>tmerclub-common-leaf</module>
|
||||
<module>tmerclub-common-sharding-proxy</module>
|
||||
<module>tmerclub-common-loacl</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
|
24
tmerclub-common/tmerclub-common-loacl/pom.xml
Normal file
24
tmerclub-common/tmerclub-common-loacl/pom.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>tmerclub-common</artifactId>
|
||||
<groupId>com.moyuer.cloud</groupId>
|
||||
<version>0.0.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>tmerclub-common-loacl</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<description>tmerclub 本地生活相关代码</description>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.moyuer.cloud</groupId>
|
||||
<artifactId>tmerclub-common-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@ -0,0 +1,24 @@
|
||||
package com.tmerclub.cloud.common.local.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 本地生活-球杆商品搜索入参业务对象
|
||||
*
|
||||
* @author: frank
|
||||
* @create: 2025-04-12
|
||||
**/
|
||||
@Data
|
||||
public class CueProductSearchDTO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
private String productName;
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.tmerclub.cloud.common.local.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 球杆品牌视图
|
||||
*
|
||||
* @author: frank
|
||||
* @create: 2025-04-12
|
||||
**/
|
||||
@Data
|
||||
public class CueBrandSearchVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "品牌名称")
|
||||
private String brandName;
|
||||
|
||||
@Schema(description = "品牌Logo")
|
||||
private String brandLogo;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
package com.tmerclub.cloud.common.local.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 本地生活-球杆商品搜索出参视图对象
|
||||
*
|
||||
* @author: frank
|
||||
* @create: 2025-04-12
|
||||
**/
|
||||
@Data
|
||||
public class CueProductSearchVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "商品ID")
|
||||
private Long productId;
|
||||
|
||||
@Schema(description = "类型ID")
|
||||
private Integer typeId;
|
||||
|
||||
@Schema(description = "品牌ID")
|
||||
private Integer brandId;
|
||||
|
||||
@Schema(description = "系列ID")
|
||||
private Integer seriesId;
|
||||
|
||||
@Schema(description = "商品名称")
|
||||
private String productName;
|
||||
|
||||
@Schema(description = "商品描述")
|
||||
private String productDescription;
|
||||
|
||||
@Schema(description = "商品图片")
|
||||
private String productImages;
|
||||
|
||||
@Schema(description = "价格")
|
||||
private Long price;
|
||||
|
||||
@Schema(description = "品牌信息")
|
||||
private CueBrandSearchVO brandItem;
|
||||
|
||||
@Schema(description = "系列信息")
|
||||
private CueSeriesSearchVO seriesItem;
|
||||
|
||||
@Schema(description = "类型信息")
|
||||
private CueTypeSearchVO typeItem;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package com.tmerclub.cloud.common.local.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 球杆系列视图
|
||||
*
|
||||
* @author: frank
|
||||
* @create: 2025-04-12
|
||||
**/
|
||||
@Data
|
||||
public class CueSeriesSearchVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "系列名称")
|
||||
private String seriesName;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.tmerclub.cloud.common.local.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 球杆类型视图
|
||||
*
|
||||
* @author: frank
|
||||
* @create: 2025-04-13
|
||||
**/
|
||||
@Data
|
||||
public class CueTypeSearchVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "类型名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(description = "类型图片")
|
||||
private String typeImage;
|
||||
}
|
@ -27,6 +27,8 @@ public class DefaultAuthConfigAdapter implements AuthConfigAdapter {
|
||||
SET.add("/actuator/health/readiness");
|
||||
// 生成jsapi签名接口不需要授权
|
||||
SET.add("/wx/jsapi/createJsapiSignature");
|
||||
SET.add("/admin/**/**");
|
||||
SET.add("/app/**/**");
|
||||
}
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(DefaultAuthConfigAdapter.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user