消息订阅
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -70,4 +70,10 @@ public interface ConsStockFlowService extends IService<ConsStockFlow> {
|
||||
* @return 分页数据
|
||||
*/
|
||||
Page<ConsStockFlowDTO> findConsStockFlowPage(ConsStockFlowParam param);
|
||||
|
||||
/**
|
||||
* 保存库存变动记录
|
||||
* @param entity 库存变动记录实体
|
||||
*/
|
||||
void saveFlow(ConsStockFlow entity);
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user