mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-24 16:05:08 +08:00
会员:积分配置改为会员配置
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
package cn.iocoder.yudao.module.member.api.config;
|
||||
|
||||
import cn.iocoder.yudao.module.member.api.config.dto.MemberConfigRespDTO;
|
||||
|
||||
/**
|
||||
* 用户配置 API 接口
|
||||
*
|
||||
* @author owen
|
||||
*/
|
||||
public interface MemberConfigApi {
|
||||
|
||||
/**
|
||||
* 获得积分配置
|
||||
*
|
||||
* @return 积分配置
|
||||
*/
|
||||
MemberConfigRespDTO getConfig();
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.member.api.point.dto;
|
||||
package cn.iocoder.yudao.module.member.api.config.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -8,7 +8,7 @@ import lombok.Data;
|
||||
* @author 芋道源码
|
||||
*/
|
||||
@Data
|
||||
public class MemberPointConfigRespDTO {
|
||||
public class MemberConfigRespDTO {
|
||||
|
||||
/**
|
||||
* 积分抵扣开关
|
@ -1,6 +1,5 @@
|
||||
package cn.iocoder.yudao.module.member.api.point;
|
||||
|
||||
import cn.iocoder.yudao.module.member.api.point.dto.MemberPointConfigRespDTO;
|
||||
import cn.iocoder.yudao.module.member.enums.point.MemberPointBizTypeEnum;
|
||||
|
||||
import javax.validation.constraints.Min;
|
||||
@ -12,14 +11,6 @@ import javax.validation.constraints.Min;
|
||||
*/
|
||||
public interface MemberPointApi {
|
||||
|
||||
// TODO @疯狂:这个我们要不要搞成通用的会员配置?MemberConfig?
|
||||
/**
|
||||
* 获得积分配置
|
||||
*
|
||||
* @return 积分配置
|
||||
*/
|
||||
MemberPointConfigRespDTO getConfig();
|
||||
|
||||
/**
|
||||
* 增加用户积分
|
||||
*
|
||||
|
Reference in New Issue
Block a user