From 57df63dc3579dfaffa0904d19f96392fee90dddf Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 20 Aug 2023 19:26:50 +0800 Subject: [PATCH] =?UTF-8?q?code=20review=EF=BC=9A=E7=AD=BE=E5=88=B0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 82628ce78083d04edc7c9521f61bdb4d7abfbfbe) --- src/api/{ => member}/point/config/index.ts | 0 src/api/{ => member}/point/record/index.ts | 0 .../signin/config}/index.ts | 2 +- .../signin/record}/index.ts | 0 src/views/member/point/config/index.vue | 2 +- src/views/member/point/record/index.vue | 6 ++--- .../member/signin/config/SignInConfigForm.vue | 24 +++++++++++++---- src/views/member/signin/config/index.vue | 27 ++++--------------- 8 files changed, 29 insertions(+), 32 deletions(-) rename src/api/{ => member}/point/config/index.ts (100%) rename src/api/{ => member}/point/record/index.ts (100%) rename src/api/{point/signInConfig => member/signin/config}/index.ts (95%) rename src/api/{point/signInRecord => member/signin/record}/index.ts (100%) diff --git a/src/api/point/config/index.ts b/src/api/member/point/config/index.ts similarity index 100% rename from src/api/point/config/index.ts rename to src/api/member/point/config/index.ts diff --git a/src/api/point/record/index.ts b/src/api/member/point/record/index.ts similarity index 100% rename from src/api/point/record/index.ts rename to src/api/member/point/record/index.ts diff --git a/src/api/point/signInConfig/index.ts b/src/api/member/signin/config/index.ts similarity index 95% rename from src/api/point/signInConfig/index.ts rename to src/api/member/signin/config/index.ts index 246270ec..833c2e16 100644 --- a/src/api/point/signInConfig/index.ts +++ b/src/api/member/signin/config/index.ts @@ -8,7 +8,7 @@ export interface SignInConfigVO { } // 查询积分签到规则列表 -export const getSignInConfigPage = async () => { +export const getSignInConfigList = async () => { return await request.get({ url: `/member/point/sign-in-config/list` }) } diff --git a/src/api/point/signInRecord/index.ts b/src/api/member/signin/record/index.ts similarity index 100% rename from src/api/point/signInRecord/index.ts rename to src/api/member/signin/record/index.ts diff --git a/src/views/member/point/config/index.vue b/src/views/member/point/config/index.vue index 27820c24..27c52085 100644 --- a/src/views/member/point/config/index.vue +++ b/src/views/member/point/config/index.vue @@ -58,7 +58,7 @@