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 c742274f..55e6de4a 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -150,5 +150,8 @@ export enum DICT_TYPE {
PRODUCT_UNIT = 'product_unit', // 商品单位
PRODUCT_SPU_STATUS = 'product_spu_status', //商品状态
// ========== MALL 交易模块 ==========
- EXPRESS_CHARGE_MODE = 'trade_delivery_express_charge_mode' //快递的计费方式
+ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+