diff --git a/api/member/signin.js b/api/member/signin.js new file mode 100644 index 00000000..95623db7 --- /dev/null +++ b/api/member/signin.js @@ -0,0 +1,21 @@ +import request from "@/utils/request.js"; + +// 获得签到规则列表 +export function getSignInConfigList() { + return request.get('app-api/member/sign-in/config/list'); +} + +// 获得个人签到统计 +export function getSignInRecordSummary() { + return request.get('app-api/member/sign-in/record/get-summary') +} + +// 签到 +export function createSignInRecord() { + return request.post('app-api/member/sign-in/record/create') +} + +// 获得签到记录分页 +export function getSignRecordPage() { + return request.get('app-api/member/sign-in/record/page'); +} diff --git a/pages/users/user_sgin/index.vue b/pages/users/user_sgin/index.vue index d04ea13f..71071156 100644 --- a/pages/users/user_sgin/index.vue +++ b/pages/users/user_sgin/index.vue @@ -1,39 +1,43 @@ - -