维基小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
964 B

const HEALTH = '/health';
const users = `${HEALTH}/users`;
const health = `${HEALTH}/health`;
const sites = `${HEALTH}/sites`;
const journeys = `${HEALTH}/journeys`;
// 保存个人信息
export const SUBMIT_USER_INFO = `${users}/addInfo`;
// 获取个人信息
export const GET_USER_INFO = `${users}/info`;
// 获取健康打卡记录
export const HEALTH_SIGN_HISTORY = `${health}/info`;
// 健康上报数目统计
export const HEALTH_TYPE_STATISTICS = `${health}/statistics`;
// 查询健康状态类型
export const HEALTH_TYPE_STATUS = `${health}/type`;
// 健康打卡
export const HEALTH_SIGN = `${health}/upload`;
// 查看自己的打卡记录
export const USER_SIGNS = `${sites}/info`;
// 扫码统计
export const SCHOOL_SIGNS = `${sites}/statistics`;
// 扫码打卡
export const SCAN_SIGN = `${sites}/upload`;
// 查询行程
export const GET_JOURNEYS = `${journeys}/info`;
// 上报行程
export const SUBMIT_JOURNEYS = `${sites}/upload`;