mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 07:55:53 +08:00
commit message
This commit is contained in:
28
api/point.js
Normal file
28
api/point.js
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
import {http, Method} from '@/utils/request.js';
|
||||
|
||||
/**
|
||||
* 签到
|
||||
* @param params
|
||||
*/
|
||||
export function sign() {
|
||||
return http.request({
|
||||
url: '/members/sign',
|
||||
method: Method.POST,
|
||||
needToken: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 签到时间获取
|
||||
* @param params
|
||||
*/
|
||||
export function signTime(time) {
|
||||
return http.request({
|
||||
url: '/members/sign?time='+time,
|
||||
method: Method.GET,
|
||||
needToken: true,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user