记录模块接口对接

This commit is contained in:
2022-01-14 10:54:55 +08:00
574 changed files with 7246 additions and 73458 deletions

32
apis/interfaces/weight.js Normal file
View File

@@ -0,0 +1,32 @@
/*
* @Description:称体重模块
* @Author: Aimee·Zhang
* @Date: 2022-01-12 16:24:28
* @LastEditors: Aimee·Zhang
* @LastEditTime: 2022-01-12 17:13:45
*/
import { request } from '../index'
/**
* @description:称量体重模块首页
*/
const weights = (page) => {
return request({
url: 'health/weights',
data: { page: page }
})
}
/**
* @description:记录体重
* @Date: 2022-01-12 16:46:19
*/
const addWeight = (data) => {
return request({
url: 'health/weights',
method: 'POST',
data: data
})
}
export {
weights,
addWeight
}