diff --git a/src/api/point/config/index.ts b/src/api/point/config/index.ts
new file mode 100644
index 00000000..1bf7b094
--- /dev/null
+++ b/src/api/point/config/index.ts
@@ -0,0 +1,39 @@
+import request from '@/config/axios'
+
+export interface ConfigVO {
+ id: number
+ tradeDeductEnable: number
+ tradeDeductUnitPrice: number
+ tradeDeductMaxPrice: number
+ tradeGivePoint: number
+}
+
+// 查询积分设置列表
+export const getConfigPage = async (params) => {
+ return await request.get({ url: `/point/config/page`, params })
+}
+
+// 查询积分设置详情
+export const getConfig = async (id: number) => {
+ return await request.get({ url: `/point/config/get?id=` + id })
+}
+
+// 新增积分设置
+export const createConfig = async (data: ConfigVO) => {
+ return await request.post({ url: `/point/config/create`, data })
+}
+
+// 修改积分设置
+export const updateConfig = async (data: ConfigVO) => {
+ return await request.put({ url: `/point/config/update`, data })
+}
+
+// 删除积分设置
+export const deleteConfig = async (id: number) => {
+ return await request.delete({ url: `/point/config/delete?id=` + id })
+}
+
+// 导出积分设置 Excel
+export const exportConfig = async (params) => {
+ return await request.download({ url: `/point/config/export-excel`, params })
+}
diff --git a/src/api/point/record/index.ts b/src/api/point/record/index.ts
new file mode 100644
index 00000000..15eaff35
--- /dev/null
+++ b/src/api/point/record/index.ts
@@ -0,0 +1,47 @@
+import request from '@/config/axios'
+
+export interface RecordVO {
+ id: number
+ bizId: string
+ bizType: string
+ type: string
+ title: string
+ description: string
+ point: number
+ totalPoint: number
+ status: number
+ userId: number
+ freezingTime: Date
+ thawingTime: Date
+ createDate: Date
+}
+
+// 查询用户积分记录列表
+export const getRecordPage = async (params) => {
+ return await request.get({ url: `/point/record/page`, params })
+}
+
+// 查询用户积分记录详情
+export const getRecord = async (id: number) => {
+ return await request.get({ url: `/point/record/get?id=` + id })
+}
+
+// 新增用户积分记录
+export const createRecord = async (data: RecordVO) => {
+ return await request.post({ url: `/point/record/create`, data })
+}
+
+// 修改用户积分记录
+export const updateRecord = async (data: RecordVO) => {
+ return await request.put({ url: `/point/record/update`, data })
+}
+
+// 删除用户积分记录
+export const deleteRecord = async (id: number) => {
+ return await request.delete({ url: `/point/record/delete?id=` + id })
+}
+
+// 导出用户积分记录 Excel
+export const exportRecord = async (params) => {
+ return await request.download({ url: `/point/record/export-excel`, params })
+}
diff --git a/src/api/point/signInConfig/index.ts b/src/api/point/signInConfig/index.ts
new file mode 100644
index 00000000..3786c06e
--- /dev/null
+++ b/src/api/point/signInConfig/index.ts
@@ -0,0 +1,37 @@
+import request from '@/config/axios'
+
+export interface SignInConfigVO {
+ id: number
+ day: number
+ point: number
+}
+
+// 查询积分签到规则列表
+export const getSignInConfigPage = async (params) => {
+ return await request.get({ url: `/point/sign-in-config/page`, params })
+}
+
+// 查询积分签到规则详情
+export const getSignInConfig = async (id: number) => {
+ return await request.get({ url: `/point/sign-in-config/get?id=` + id })
+}
+
+// 新增积分签到规则
+export const createSignInConfig = async (data: SignInConfigVO) => {
+ return await request.post({ url: `/point/sign-in-config/create`, data })
+}
+
+// 修改积分签到规则
+export const updateSignInConfig = async (data: SignInConfigVO) => {
+ return await request.put({ url: `/point/sign-in-config/update`, data })
+}
+
+// 删除积分签到规则
+export const deleteSignInConfig = async (id: number) => {
+ return await request.delete({ url: `/point/sign-in-config/delete?id=` + id })
+}
+
+// 导出积分签到规则 Excel
+export const exportSignInConfig = async (params) => {
+ return await request.download({ url: `/point/sign-in-config/export-excel`, params })
+}
diff --git a/src/api/point/signInRecord/index.ts b/src/api/point/signInRecord/index.ts
new file mode 100644
index 00000000..0f9b9f64
--- /dev/null
+++ b/src/api/point/signInRecord/index.ts
@@ -0,0 +1,38 @@
+import request from '@/config/axios'
+
+export interface SignInRecordVO {
+ id: number
+ userId: number
+ day: number
+ point: number
+}
+
+// 查询用户签到积分列表
+export const getSignInRecordPage = async (params) => {
+ return await request.get({ url: `/point/sign-in-record/page`, params })
+}
+
+// 查询用户签到积分详情
+export const getSignInRecord = async (id: number) => {
+ return await request.get({ url: `/point/sign-in-record/get?id=` + id })
+}
+
+// 新增用户签到积分
+export const createSignInRecord = async (data: SignInRecordVO) => {
+ return await request.post({ url: `/point/sign-in-record/create`, data })
+}
+
+// 修改用户签到积分
+export const updateSignInRecord = async (data: SignInRecordVO) => {
+ return await request.put({ url: `/point/sign-in-record/update`, data })
+}
+
+// 删除用户签到积分
+export const deleteSignInRecord = async (id: number) => {
+ return await request.delete({ url: `/point/sign-in-record/delete?id=` + id })
+}
+
+// 导出用户签到积分 Excel
+export const exportSignInRecord = async (params) => {
+ return await request.download({ url: `/point/sign-in-record/export-excel`, params })
+}
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index db79f227..baabeed9 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -146,24 +146,12 @@ export enum DICT_TYPE {
MP_AUTO_REPLY_REQUEST_MATCH = 'mp_auto_reply_request_match', // 自动回复请求匹配类型
MP_MESSAGE_TYPE = 'mp_message_type', // 消息类型
- // ========== MALL - PROMOTION 模块 ==========
+ // ========== MALL 模块 ==========
PRODUCT_UNIT = 'product_unit', // 商品单位
- PROMOTION_DISCOUNT_TYPE = 'promotion_discount_type', // 优惠类型
- PROMOTION_PRODUCT_SCOPE = 'promotion_product_scope', // 营销的商品范围
- PROMOTION_COUPON_TEMPLATE_VALIDITY_TYPE = 'promotion_coupon_template_validity_type', // 优惠劵模板的有限期类型
- PROMOTION_COUPON_STATUS = 'promotion_coupon_status', // 优惠劵的状态
- PROMOTION_COUPON_TAKE_TYPE = 'promotion_coupon_take_type', // 优惠劵的领取方式
- PROMOTION_ACTIVITY_STATUS = 'promotion_activity_status', // 优惠活动的状态
- PROMOTION_CONDITION_TYPE = 'promotion_condition_type', // 营销的条件类型枚举
-
- //===add by 20230530====
- // ========== MALL - ORDER 模块 ==========
- TRADE_AFTER_SALE_STATUS = 'trade_after_sale_status', // 售后 - 状态
- TRADE_AFTER_SALE_WAY = 'trade_after_sale_way', // 售后 - 方式
- TRADE_AFTER_SALE_TYPE = 'trade_after_sale_type', // 售后 - 类型
- TRADE_ORDER_TYPE = 'trade_order_type', // 订单 - 类型
- TRADE_ORDER_STATUS = 'trade_order_status', // 订单 - 状态
- TRADE_ORDER_ITEM_AFTER_SALE_STATUS = 'trade_order_item_after_sale_status', // 订单项 - 售后状态
-
- TERMINAL = 'terminal'
+ PRODUCT_SPU_STATUS = 'product_spu_status', //商品状态
+ // ========== MALL 交易模块 ==========
+ EXPRESS_CHARGE_MODE = 'trade_delivery_express_charge_mode', //快递的计费方式
+ //积分模块//
+ POINT_BIZ_TYPE = 'point_biz_type',
+ POINT_STATUS = 'point_status'
}
diff --git a/src/views/point/config/ConfigForm.vue b/src/views/point/config/ConfigForm.vue
new file mode 100644
index 00000000..0b7f3747
--- /dev/null
+++ b/src/views/point/config/ConfigForm.vue
@@ -0,0 +1,122 @@
+
+
+
+
diff --git a/src/views/point/config/index.vue b/src/views/point/config/index.vue
new file mode 100644
index 00000000..b8259831
--- /dev/null
+++ b/src/views/point/config/index.vue
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/point/record/RecordForm.vue b/src/views/point/record/RecordForm.vue
new file mode 100644
index 00000000..6da630eb
--- /dev/null
+++ b/src/views/point/record/RecordForm.vue
@@ -0,0 +1,179 @@
+
+
+
+
diff --git a/src/views/point/record/index.vue b/src/views/point/record/index.vue
new file mode 100644
index 00000000..94db7d92
--- /dev/null
+++ b/src/views/point/record/index.vue
@@ -0,0 +1,259 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/point/signInConfig/SignInConfigForm.vue b/src/views/point/signInConfig/SignInConfigForm.vue
new file mode 100644
index 00000000..345da7df
--- /dev/null
+++ b/src/views/point/signInConfig/SignInConfigForm.vue
@@ -0,0 +1,97 @@
+
+
+
+
diff --git a/src/views/point/signInConfig/index.vue b/src/views/point/signInConfig/index.vue
new file mode 100644
index 00000000..cd34d0c9
--- /dev/null
+++ b/src/views/point/signInConfig/index.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/point/signInRecord/SignInRecordForm.vue b/src/views/point/signInRecord/SignInRecordForm.vue
new file mode 100644
index 00000000..99f6122b
--- /dev/null
+++ b/src/views/point/signInRecord/SignInRecordForm.vue
@@ -0,0 +1,99 @@
+
+
+
+
diff --git a/src/views/point/signInRecord/index.vue b/src/views/point/signInRecord/index.vue
new file mode 100644
index 00000000..a79b2987
--- /dev/null
+++ b/src/views/point/signInRecord/index.vue
@@ -0,0 +1,194 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+