消息订阅

This commit is contained in:
Tankaikai
2025-03-17 13:46:37 +08:00
parent 066f70a3dd
commit d4c329e7aa
16 changed files with 408 additions and 15 deletions

View File

@@ -1,8 +1,5 @@
package com.czg.account.dto;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.annotation.JSONField;
import com.czg.account.vo.HandoverCategoryListVo;
import com.czg.account.vo.HandoverProductListVo;

View File

@@ -0,0 +1,23 @@
package com.czg.account.dto;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* 微信订阅消息
*
* @author Tankaikai tankaikai@aliyun.com
* @since 1.0 2025-02-27
*/
@Data
public class WxMsgSubDTO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
private Long shopId;
private String openId;
private String nickname;
private String avatar;
}

View File

@@ -7,6 +7,7 @@ import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
@@ -29,7 +30,7 @@ public class ShopPushOpenId implements Serializable {
@Id(keyType = KeyType.Auto)
private Integer id;
private Integer shopId;
private Long shopId;
/**
* 微信openid

View File

@@ -70,4 +70,10 @@ public interface ConsStockFlowService extends IService<ConsStockFlow> {
* @return 分页数据
*/
Page<ConsStockFlowDTO> findConsStockFlowPage(ConsStockFlowParam param);
/**
* 保存库存变动记录
* @param entity 库存变动记录实体
*/
void saveFlow(ConsStockFlow entity);
}

View File

@@ -0,0 +1,16 @@
package com.czg.product.service;
import com.czg.product.entity.ProductStockFlow;
import com.mybatisflex.core.service.IService;
/**
* +
* 商品库存流水服务类
*
* @author tankaikai
* @since 2025-03-14 15:44
*/
public interface ProductStockFlowService extends IService<ProductStockFlow> {
void saveFlow(ProductStockFlow entity);
}

View File

@@ -0,0 +1,13 @@
package com.czg.product.service;
/**
* 敏感操作Service
*
* @author Tankaikai tankaikai@aliyun.com
* @since 1.0 2025-02-16
*/
public interface SensitiveOperationService {
void send(String operationDesc);
}